summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-19 18:08:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:37 -0500
commit4090bc4bca77edafcafa52ecb7dc75ead2779cb5 (patch)
tree786598f080a869dcb6eb3c751e226446a56400c8 /source
parent7e0005c14b6852be756dbdacd1412077f2cf57f5 (diff)
downloadsamba-4090bc4bca77edafcafa52ecb7dc75ead2779cb5.tar.gz
samba-4090bc4bca77edafcafa52ecb7dc75ead2779cb5.tar.xz
samba-4090bc4bca77edafcafa52ecb7dc75ead2779cb5.zip
r20257: Hey, change_owner_to_parent is now static :-)
Diffstat (limited to 'source')
-rw-r--r--source/smbd/open.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c
index d9166097694..3111f68ef59 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -84,10 +84,10 @@ int fd_close(struct connection_struct *conn,
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;