aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2019-03-25 22:02:24 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2019-03-25 22:02:24 +0100
commit763a5a99b3af4161cd1dd4c7ee2c450c4b6137a5 (patch)
treed7afcf1c6a82d3632f4b947f192cffcfc2fce221 /colorize.c
parentf7129232181024d51c0ea234a49e3525c464e3d6 (diff)
downloadcolorize-763a5a99b3af4161cd1dd4c7ee2c450c4b6137a5.tar.gz
colorize-763a5a99b3af4161cd1dd4c7ee2c450c4b6137a5.tar.bz2
Include print_tstamp() under DEBUG only
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c4
1 files changed, 4 insertions, 0 deletions
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 (); \