diff options
-rw-r--r-- | colorize.c | 2 | ||||
-rwxr-xr-x | version.pl | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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; @@ -14,11 +14,11 @@ and system('git ls-files colorize.c --error-unmatch >/dev/null 2>&1') == 0) { if (length $version) { print <<"EOT"; -const char *version = "$version"; +const char *const version = "$version"; EOT } else { print <<'EOT'; -const char *version = NULL; +const char *const version = NULL; EOT } |