summaryrefslogtreecommitdiff
path: root/source3/lib/filename_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/filename_util.c')
-rw-r--r--source3/lib/filename_util.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/lib/filename_util.c b/source3/lib/filename_util.c
index 90bb2b8627..99cc114c18 100644
--- a/source3/lib/filename_util.c
+++ b/source3/lib/filename_util.c
@@ -18,6 +18,10 @@
*/
#include "includes.h"
+static NTSTATUS copy_smb_filename(TALLOC_CTX *ctx,
+ const struct smb_filename *smb_fname_in,
+ struct smb_filename **smb_fname_out);
+
/**
* XXX: This is temporary and there should be no callers of this outside of
* this file once smb_filename is plumbed through all path based operations.
@@ -200,9 +204,9 @@ fail:
return NULL;
}
-NTSTATUS copy_smb_filename(TALLOC_CTX *ctx,
- const struct smb_filename *smb_fname_in,
- struct smb_filename **smb_fname_out)
+static NTSTATUS copy_smb_filename(TALLOC_CTX *ctx,
+ const struct smb_filename *smb_fname_in,
+ struct smb_filename **smb_fname_out)
{
*smb_fname_out = cp_smb_filename(ctx, smb_fname_in);
if (*smb_fname_out == NULL) {