aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2018-06-10 14:57:44 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2018-06-10 14:57:44 +0200
commitd8ac99f59c3d8e499362eeb7d5a8b48f8fb67a17 (patch)
tree86bbbcfbc03366f8655eeadd54ab5b7201366f9e /colorize.c
parent997dfe07ff91a013f37c744554aaa8b9d8b5539c (diff)
downloadcolorize-d8ac99f59c3d8e499362eeb7d5a8b48f8fb67a17.tar.gz
colorize-d8ac99f59c3d8e499362eeb7d5a8b48f8fb67a17.tar.bz2
print_version(): const version string pointer
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index d7d014f..58625fb 100644
--- a/colorize.c
+++ b/colorize.c
@@ -576,7 +576,7 @@ print_version (void)
#ifdef HAVE_VERSION
# include "version.h"
#else
- const char *version = NULL;
+ const char *const version = NULL;
#endif
const char *version_prefix, *version_string;
const char *c_flags, *ld_flags, *cpp_flags;