diff options
author | Steven Schubiger <stsc@refcnt.org> | 2018-06-10 14:57:44 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2018-06-10 14:57:44 +0200 |
commit | d8ac99f59c3d8e499362eeb7d5a8b48f8fb67a17 (patch) | |
tree | 86bbbcfbc03366f8655eeadd54ab5b7201366f9e /version.pl | |
parent | 997dfe07ff91a013f37c744554aaa8b9d8b5539c (diff) | |
download | colorize-d8ac99f59c3d8e499362eeb7d5a8b48f8fb67a17.tar.gz colorize-d8ac99f59c3d8e499362eeb7d5a8b48f8fb67a17.tar.bz2 |
print_version(): const version string pointer
Diffstat (limited to 'version.pl')
-rwxr-xr-x | version.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |