]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't install internal headers.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 18 Oct 2018 13:38:49 +0000 (09:38 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Thu, 18 Oct 2018 13:38:49 +0000 (09:38 -0400)
cups/Makefile
cups/debug-private.h
cups/debug.c

index 9d3b422e1b667f85d6007b9cd37fdd83b566cfac..ea214a45b3d7fe79b88b600950c4d0f6aa8df43f 100644 (file)
@@ -128,12 +128,10 @@ HEADERS   =       \
 HEADERSPRIV =  \
                array-private.h \
                cups-private.h \
-               debug-private.h \
                file-private.h \
                http-private.h \
                ipp-private.h \
                language-private.h \
-               md5-private.h \
                ppd-private.h \
                pwg-private.h \
                raster-private.h \
index 4cabe0d8c041c31afa83a52a7768a5af3ad0f7a2..8d58e224bd91ea66744d246067727cf18dd52d9c 100644 (file)
@@ -77,11 +77,14 @@ extern "C" {
  * Prototypes...
  */
 
+#  ifdef DEBUG
 extern int     _cups_debug_fd _CUPS_PRIVATE;
 extern int     _cups_debug_level _CUPS_PRIVATE;
 extern void    _cups_debug_printf(const char *format, ...) _CUPS_FORMAT(1,2) _CUPS_PRIVATE;
 extern void    _cups_debug_puts(const char *s) _CUPS_PRIVATE;
 extern void    _cups_debug_set(const char *logfile, const char *level, const char *filter, int force) _CUPS_PRIVATE;
+#  endif /* DEBUG */
+
 #  ifdef _WIN32
 extern int     _cups_gettimeofday(struct timeval *tv, void *tz) _CUPS_PRIVATE;
 #    define gettimeofday(a,b) _cups_gettimeofday(a, b)
index b04432b5e3628159e4f3e9f56528c26bd13e5184..372c3a391766837fa78c175a654b6d53de27986c 100644 (file)
@@ -35,6 +35,7 @@ _cups_gettimeofday(struct timeval *tv,        /* I  - Timeval struct */
 #include <fcntl.h>
 
 
+#ifdef DEBUG
 /*
  * Globals...
  */
@@ -45,7 +46,6 @@ int                   _cups_debug_level = 1;
                                        /* Log level (0 to 9) */
 
 
-#ifdef DEBUG
 /*
  * Local globals...
  */