r20257: Hey, change_owner_to_parent is now static :-)
authorVolker Lendecke <vlendec@samba.org>
Tue, 19 Dec 2006 18:08:51 +0000 (18:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:37 +0000 (12:16 -0500)
(This used to be commit 4090bc4bca77edafcafa52ecb7dc75ead2779cb5)

source3/smbd/open.c

index d916609769430a12e6e8274aa18d9f0a3ca4bdcd..3111f68ef59543c6d9ac84c9b9eece547d336af9 100644 (file)
@@ -84,10 +84,10 @@ int fd_close(struct connection_struct *conn,
  Do this by fd if possible.
 ****************************************************************************/
 
  Do this by fd if possible.
 ****************************************************************************/
 
-void change_owner_to_parent(connection_struct *conn,
-                           files_struct *fsp,
-                           const char *fname,
-                           SMB_STRUCT_STAT *psbuf)
+static void change_owner_to_parent(connection_struct *conn,
+                                  files_struct *fsp,
+                                  const char *fname,
+                                  SMB_STRUCT_STAT *psbuf)
 {
        const char *parent_path = parent_dirname(fname);
        SMB_STRUCT_STAT parent_st;
 {
        const char *parent_path = parent_dirname(fname);
        SMB_STRUCT_STAT parent_st;