summaryrefslogtreecommitdiff
path: root/scheduler/type.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-10-18 14:25:09 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-10-18 14:25:09 -0400
commitfb863569eb4f51ae62a066dc8049d3ffc0efb0bb (patch)
tree8a209d6684fc82600cbc303ffceedff8fb1d7b58 /scheduler/type.c
parent941a5490cfa02953d2adcacb1838fd3d3e21976b (diff)
downloadcups-fb863569eb4f51ae62a066dc8049d3ffc0efb0bb.tar.gz
Move debug printfs to internal usage only.
Also, old MD5 code is internal-only.
Diffstat (limited to 'scheduler/type.c')
-rw-r--r--scheduler/type.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/scheduler/type.c b/scheduler/type.c
index 719afb7df..2cceeda58 100644
--- a/scheduler/type.c
+++ b/scheduler/type.c
@@ -12,12 +12,19 @@
*/
#include <cups/string-private.h>
-#include <cups/debug-private.h>
#include <locale.h>
#include "mime.h"
/*
+ * Debug macros that used to be private API...
+ */
+
+#define DEBUG_puts(x)
+#define DEBUG_printf(...)
+
+
+/*
* Local types...
*/
@@ -44,7 +51,7 @@ static int mime_patmatch(const char *s, const char *pat);
* Local globals...
*/
-#ifdef DEBUG
+#ifdef MIME_DEBUG
static const char * const debug_ops[] =
{ /* Test names... */
"NOP", /* No operation */