From: Michael R Sweet Date: Thu, 25 Oct 2018 18:18:36 +0000 (-0400) Subject: Make sure _cups_debug_set always exists. X-Git-Tag: v2.3b6~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899483675bee693932a9fba3a3a3f309b53b8cb4;p=thirdparty%2Fcups.git Make sure _cups_debug_set always exists. --- diff --git a/cups/debug.c b/cups/debug.c index b18953dab3..6b3914ed51 100644 --- a/cups/debug.c +++ b/cups/debug.c @@ -314,6 +314,24 @@ _cups_debug_set(const char *logfile, /* I - Log file or NULL */ _cupsMutexUnlock(&debug_init_mutex); } + + +#else +/* + * '_cups_debug_set()' - Enable or disable debug logging. + */ + +void +_cups_debug_set(const char *logfile, /* I - Log file or NULL */ + const char *level, /* I - Log level or NULL */ + const char *filter, /* I - Filter string or NULL */ + int force) /* I - Force initialization */ +{ + (void)logfile; + (void)level; + (void)filter; + (void)force; +} #endif /* DEBUG */