summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-09-04 06:16:01 +0000
committerTim Potter <tpot@samba.org>2001-09-04 06:16:01 +0000
commit55cf37488f66eba2826dba08e80dd4ab6df33fc3 (patch)
treefb9e3ce326733052ab2d4f00a841c0eb6503b09b
parentfbc1f326f445a2826a10155fe0122c779bb1f80e (diff)
downloadsamba-55cf37488f66eba2826dba08e80dd4ab6df33fc3.tar.gz
samba-55cf37488f66eba2826dba08e80dd4ab6df33fc3.tar.bz2
samba-55cf37488f66eba2826dba08e80dd4ab6df33fc3.zip
Fixed some compiler warnings.
(This used to be commit 06608971ed95c02188a1b2bf7b1f9a2845e04022)
-rw-r--r--source3/lib/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 3161aba63f..1a2f8fd84a 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1782,7 +1782,6 @@ BOOL ms_has_wild(char *s)
*******************************************************************/
BOOL mask_match(char *string, char *pattern, BOOL is_case_sensitive)
{
- extern int Protocol;
fstring p2, s2;
if (strcmp(string,"..") == 0) string = ".";
@@ -1806,7 +1805,6 @@ BOOL mask_match(char *string, char *pattern, BOOL is_case_sensitive)
BOOL wild_match(char *string, char *pattern)
{
pstring p2, s2;
- extern int Protocol;
pstrcpy(p2, pattern);
pstrcpy(s2, string);