X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=src%2Fdebug.h;h=4a7c00bc107949f2a9ab5b7aaea3c3c1452a429e;hp=7425ce475f8c49f475f4dba01d48408ee65f547b;hb=357a499884543ec285238c9ec6c53565fa4d5b48;hpb=afca2864dc6464201dfe32134ae20e0107297836 diff --git a/src/debug.h b/src/debug.h index 7425ce4..4a7c00b 100644 --- a/src/debug.h +++ b/src/debug.h @@ -41,6 +41,7 @@ static void debug_write(int fd, int first_call, char const *format, va_list ap) real_close(fd); } +#ifdef DEBUG static void debug(char const *format, ...) { va_list ap; @@ -63,6 +64,7 @@ static void debug(char const *format, ...) { errno = saved_errno; } +#endif static void warning(char const *format, ...) { va_list ap;