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/printing | |
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/printing')
-rw-r--r-- | source3/printing/pcap.c | 2 | ||||
-rw-r--r-- | source3/printing/print_svid.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/pcap.c b/source3/printing/pcap.c index 38c4dec3fc..0b3ad2b136 100644 --- a/source3/printing/pcap.c +++ b/source3/printing/pcap.c @@ -313,7 +313,7 @@ BOOL pcap_printername_ok(char *pszPrintername, char *pszPrintcapname) run a function on each printer name in the printcap file. The function is passed the primary name and the comment (if possible) ***************************************************************************/ -void pcap_printer_fn(void (*fn)()) +void pcap_printer_fn(void (*fn)(char *, char *)) { pstring name,comment; char *line; diff --git a/source3/printing/print_svid.c b/source3/printing/print_svid.c index cfdb0f1c34..f2126f25ac 100644 --- a/source3/printing/print_svid.c +++ b/source3/printing/print_svid.c @@ -45,7 +45,7 @@ typedef struct printer { } printer_t; static printer_t *printers = NULL; -static void populate_printers() +static void populate_printers(void) { FILE *fp; @@ -88,7 +88,7 @@ static void populate_printers() * names longer than 8 characters appear to work with my test * clients (Win95/NT). */ -void sysv_printer_fn(void (*fn)()) +void sysv_printer_fn(void (*fn)(char *, char *)) { printer_t *tmp; |