diff options
author | Jeremy Allison <jra@samba.org> | 1998-04-13 19:24:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-04-13 19:24:06 +0000 |
commit | cac6a060af598bf94e6414b06e7365ec51ca360e (patch) | |
tree | 45249e753e580c2d2cb670db1d24ee41701c5285 /source3/lib/access.c | |
parent | 47ec2e09b7e1b29e41862916a27f189ba6552582 (diff) | |
download | samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.gz samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.xz samba-cac6a060af598bf94e6414b06e7365ec51ca360e.zip |
Changes to allow Samba to be compiled with -Wstrict-prototypes
with gcc. (Not a big change although it looks like it :-).
Jeremy.
(This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
Diffstat (limited to 'source3/lib/access.c')
-rw-r--r-- | source3/lib/access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/access.c b/source3/lib/access.c index cc2bf8632b7..fe78700eddd 100644 --- a/source3/lib/access.c +++ b/source3/lib/access.c @@ -35,7 +35,7 @@ static char sep[] = ", \t"; #define FAIL (-1) /* Forward declarations. */ -static int list_match(char *list,char *item, int (*match_fn)()); +static int list_match(char *list,char *item, int (*match_fn)(char *, char *)); static int client_match(char *tok,char *item); static int string_match(char *tok,char *s); static int masked_match(char *tok, char *slash, char *s); @@ -118,7 +118,7 @@ BOOL allow_access(char *deny_list,char *allow_list,char *cname,char *caddr) /* list_match - match an item against a list of tokens with exceptions */ /* (All modifications are marked with the initials "jkf") */ -static int list_match(char *list,char *item, int (*match_fn)()) +static int list_match(char *list,char *item, int (*match_fn)(char *, char *)) { char *tok; char *listcopy; /* jkf */ |