From 99cdb462083381c88689a4e698ca48b6ed4cf5ac Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 Jan 2003 18:57:41 +0000 Subject: *lots of small merges form HEAD *sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef) --- source3/printing/print_cups.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'source3/printing/print_cups.c') diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index d41367af8b..cc3941fe96 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -54,15 +54,13 @@ struct printif cups_printif = * 'cups_passwd_cb()' - The CUPS password callback... */ -const char * /* O - Password or NULL */ +static const char * /* O - Password or NULL */ cups_passwd_cb(const char *prompt) /* I - Prompt */ { /* * Always return NULL to indicate that no password is available... */ - (void)prompt; - return (NULL); } @@ -209,10 +207,10 @@ void cups_printer_fn(void (*fn)(char *, char *)) /* * 'cups_printername_ok()' - Provide the equivalent of pcap_printername_ok() * for CUPS. + * O - 1 if printer name OK + * I - Name of printer */ - -int /* O - 1 if printer name OK */ -cups_printername_ok(char *name) /* I - Name of printer */ +int cups_printername_ok(const char *name) { http_t *http; /* HTTP connection to server */ ipp_t *request, /* IPP Request */ -- cgit