summaryrefslogtreecommitdiffstats
path: root/source/lib
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
commit06608971ed95c02188a1b2bf7b1f9a2845e04022 (patch)
tree2797049b52857a067627281b47cfaca05c7dff9c /source/lib
parentad648c5cd8ebe4be8304379117f403d7673dcbc8 (diff)
downloadsamba-06608971ed95c02188a1b2bf7b1f9a2845e04022.tar.gz
samba-06608971ed95c02188a1b2bf7b1f9a2845e04022.tar.xz
samba-06608971ed95c02188a1b2bf7b1f9a2845e04022.zip
Fixed some compiler warnings.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 3161aba63ff..1a2f8fd84a8 100644
--- a/source/lib/util.c
+++ b/source/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);