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/smbd/password.c | |
parent | 47ec2e09b7e1b29e41862916a27f189ba6552582 (diff) | |
download | samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.gz samba-cac6a060af598bf94e6414b06e7365ec51ca360e.tar.bz2 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/smbd/password.c')
-rw-r--r-- | source3/smbd/password.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index be032c5c38..74ebeb1617 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -819,7 +819,7 @@ try all combinations with N uppercase letters. offset is the first char to try and change (start with 0) it assumes the string starts lowercased ****************************************************************************/ -static BOOL string_combinations2(char *s,int offset,BOOL (*fn)(),int N) +static BOOL string_combinations2(char *s,int offset,BOOL (*fn)(char *),int N) { int len = strlen(s); int i; @@ -850,7 +850,7 @@ try all combinations with up to N uppercase letters. offset is the first char to try and change (start with 0) it assumes the string starts lowercased ****************************************************************************/ -static BOOL string_combinations(char *s,BOOL (*fn)(),int N) +static BOOL string_combinations(char *s,BOOL (*fn)(char *),int N) { int n; for (n=1;n<=N;n++) |