smbd: Make "check_veto_path" static
authorVolker Lendecke <vl@samba.org>
Mon, 9 Feb 2015 14:42:08 +0000 (14:42 +0000)
committerDavid Disseldorp <ddiss@samba.org>
Tue, 10 Feb 2015 16:58:07 +0000 (17:58 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/smbd/filename.c
source3/smbd/proto.h

index e6327966fbdc946332d47b8eff1f51ea0623c6ab..76db5b5ad136fe5660783c094b8731912b37db43 100644 (file)
@@ -1015,7 +1015,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
  Ensure a path is not vetod.
 ****************************************************************************/
 
-NTSTATUS check_veto_path(connection_struct *conn, const char *name)
+static NTSTATUS check_veto_path(connection_struct *conn, const char *name)
 {
        if (IS_VETO_PATH(conn, name))  {
                /* Is it not dot or dot dot. */
index 121682c9659b02fa65e8d11ebab8f1e0c2bec518..26a199c0a6267c2013850ad1e20ca6b016d1902e 100644 (file)
@@ -327,7 +327,6 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
                      const char *orig_path,
                      struct smb_filename **smb_fname,
                      uint32_t ucf_flags);
-NTSTATUS check_veto_path(connection_struct *conn, const char *name);
 NTSTATUS check_name(connection_struct *conn, const char *name);
 int get_real_filename(connection_struct *conn, const char *path,
                      const char *name, TALLOC_CTX *mem_ctx,