From: Steven Schubiger Date: Mon, 25 Mar 2019 21:02:24 +0000 (+0100) Subject: Include print_tstamp() under DEBUG only X-Git-Tag: v0.65~15 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=763a5a99b3af4161cd1dd4c7ee2c450c4b6137a5 Include print_tstamp() under DEBUG only --- diff --git a/colorize.c b/colorize.c index 59cab41..356fc01 100644 --- a/colorize.c +++ b/colorize.c @@ -253,7 +253,9 @@ static char *exclude; static const char *program_name; +#if DEBUG static void print_tstamp (FILE *); +#endif static void process_opts (int, char **); static void process_opt_attr (const char *); static void write_attr (const struct attr *, unsigned int *); @@ -372,6 +374,7 @@ main (int argc, char **argv) exit (EXIT_SUCCESS); } +#if DEBUG static void print_tstamp (FILE *log) { @@ -396,6 +399,7 @@ print_tstamp (FILE *log) fprintf (log, "="); fprintf (log, "\n"); } +#endif #define PRINT_HELP_EXIT() \ print_help (); \