summaryrefslogtreecommitdiff
path: root/source3/printing/print_cups.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/print_cups.c')
-rw-r--r--source3/printing/print_cups.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index cc3941fe96..d41367af8b 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -54,13 +54,15 @@ struct printif cups_printif =
* 'cups_passwd_cb()' - The CUPS password callback...
*/
-static const char * /* O - Password or NULL */
+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);
}
@@ -207,10 +209,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 cups_printername_ok(const char *name)
+
+int /* O - 1 if printer name OK */
+cups_printername_ok(char *name) /* I - Name of printer */
{
http_t *http; /* HTTP connection to server */
ipp_t *request, /* IPP Request */