summaryrefslogtreecommitdiff
path: root/source/printing/pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/printing/pcap.c')
-rw-r--r--source/printing/pcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/printing/pcap.c b/source/printing/pcap.c
index 0b3ad2b1362..b3520d8b1e6 100644
--- a/source/printing/pcap.c
+++ b/source/printing/pcap.c
@@ -91,7 +91,7 @@ static int strlocate(char *xpLine,char *xpS)
/* ******************************************************************* */
/* * Scan qconfig and search all virtual printer (device printer) * */
/* ******************************************************************* */
-static void ScanQconfig_fn(char *psz,void (*fn)())
+static void ScanQconfig_fn(char *psz,void (*fn)(char *, char *))
{
int iLg,iEtat;
FILE *pfile;
@@ -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)(char *, char *))
+void pcap_printer_fn(void (*fn)(char *, char*))
{
pstring name,comment;
char *line;