From 763a5a99b3af4161cd1dd4c7ee2c450c4b6137a5 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Mon, 25 Mar 2019 22:02:24 +0100 Subject: [PATCH] Include print_tstamp() under DEBUG only --- colorize.c | 4 ++++ 1 file changed, 4 insertions(+) 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 (); \ -- 2.39.2