summaryrefslogtreecommitdiff
path: root/source3/smbd/close.c
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2012-10-01 09:55:28 +0200
committerVolker Lendecke <vl@samba.org>2012-10-01 17:06:06 +0200
commit7a76762c688f4fc7519dbd204b036963c460e093 (patch)
treef18a4ca628fce0202ffa44ad0be6db8dc3037c33 /source3/smbd/close.c
parent07b918ade8b9f932d6945912d22a04269198a2fe (diff)
downloadsamba-7a76762c688f4fc7519dbd204b036963c460e093.tar.gz
samba-7a76762c688f4fc7519dbd204b036963c460e093.tar.bz2
samba-7a76762c688f4fc7519dbd204b036963c460e093.zip
s3: make recursive_rmdir function non-static
Diffstat (limited to 'source3/smbd/close.c')
-rw-r--r--source3/smbd/close.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 8bf481dc37..9b988e07c6 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -853,13 +853,13 @@ static NTSTATUS close_normal_file(struct smb_request *req, files_struct *fsp,
return status;
}
/****************************************************************************
- Static function used by reply_rmdir to delete an entire directory
+ Function used by reply_rmdir to delete an entire directory
tree recursively. Return True on ok, False on fail.
****************************************************************************/
-static bool recursive_rmdir(TALLOC_CTX *ctx,
- connection_struct *conn,
- struct smb_filename *smb_dname)
+bool recursive_rmdir(TALLOC_CTX *ctx,
+ connection_struct *conn,
+ struct smb_filename *smb_dname)
{
const char *dname = NULL;
char *talloced = NULL;