s3: smbd: Remove unused check_path_syntax_wcard().
authorJeremy Allison <jra@samba.org>
Wed, 30 Sep 2020 00:18:59 +0000 (17:18 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 30 Sep 2020 22:08:01 +0000 (22:08 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 30 22:08:01 UTC 2020 on sn-devel-184

source3/smbd/proto.h
source3/smbd/reply.c

index 149abf9e58979ceda59b3e42f1bb8e79469da61c..72ee8e82fe57f59510659a83ecf75b84fd670a45 100644 (file)
@@ -933,7 +933,6 @@ bool disk_quotas(connection_struct *conn, struct smb_filename *fname,
 /* The following definitions come from smbd/reply.c  */
 
 NTSTATUS check_path_syntax(char *path);
-NTSTATUS check_path_syntax_wcard(char *path, bool *p_contains_wcard);
 NTSTATUS check_path_syntax_posix(char *path);
 size_t srvstr_get_path(TALLOC_CTX *ctx,
                        const char *inbuf,
index 325196c6f13aa6d6c23c93a9c53b09789e73f9ca..e7771e2bc593530f63f81fc168f8ab0bb740cd97 100644 (file)
@@ -232,17 +232,6 @@ NTSTATUS check_path_syntax(char *path)
        return check_path_syntax_internal(path, False, &ignore);
 }
 
-/****************************************************************************
- Ensure we check the path in *exactly* the same way as W2K for regular pathnames.
- Wildcards allowed - p_contains_wcard returns true if the last component contained
- a wildcard.
-****************************************************************************/
-
-NTSTATUS check_path_syntax_wcard(char *path, bool *p_contains_wcard)
-{
-       return check_path_syntax_internal(path, False, p_contains_wcard);
-}
-
 /****************************************************************************
  Check the path for a POSIX client.
  We're assuming here that '/' is not the second byte in any multibyte char