summaryrefslogtreecommitdiffstats
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-07-03 09:57:02 +0200
committerJeremy Allison <jra@samba.org>2014-07-10 00:26:14 +0200
commitf365f9f8af555be94e085a0726e90058d1b991ae (patch)
treed20bed88da78e6f1a9ab941d1b3530d95db72ebb /source3/smbd/dir.c
parentf4d83872e0b030bf15d83132ceaa188fdeb60c70 (diff)
downloadsamba-f365f9f8af555be94e085a0726e90058d1b991ae.tar.gz
samba-f365f9f8af555be94e085a0726e90058d1b991ae.tar.xz
samba-f365f9f8af555be94e085a0726e90058d1b991ae.zip
s3:smbd: make dptr_ReadDirName() static.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r--source3/smbd/dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index cb49a96c71..038281e599 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -754,10 +754,10 @@ static const char *dptr_normal_ReadDirName(struct dptr_struct *dptr,
Return the next visible file name, skipping veto'd and invisible files.
****************************************************************************/
-char *dptr_ReadDirName(TALLOC_CTX *ctx,
- struct dptr_struct *dptr,
- long *poffset,
- SMB_STRUCT_STAT *pst)
+static char *dptr_ReadDirName(TALLOC_CTX *ctx,
+ struct dptr_struct *dptr,
+ long *poffset,
+ SMB_STRUCT_STAT *pst)
{
struct smb_filename smb_fname_base;
char *name = NULL;