summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-27 14:17:04 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-28 13:42:44 +0200
commitf2ddce23d47fbd8f14bf73626a37d6ac291eaa3c (patch)
tree10636786671fb8626f751f454463d5e560005a56
parent7b0d017b5d6eabd3d6ef35d15037e979cac8fe1a (diff)
downloadcalcurse-f2ddce23d47fbd8f14bf73626a37d6ac291eaa3c.zip
src/args.c: Mark various constant strings const
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r--src/args.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/args.c b/src/args.c
index 735fbd9..dfa6835 100644
--- a/src/args.c
+++ b/src/args.c
@@ -51,7 +51,7 @@
static void
usage ()
{
- char *arg_usage =
+ const char *arg_usage =
_("Usage: calcurse [-h|-v] [-N] [-an] [-t[num]] [-i<file>] [-x[format]]\n"
" [-d <date>|<num>] [-s[date]] [-r[range]]\n"
" [-c<file> | -D<dir>] [-S<regex>] [--status]\n");
@@ -61,7 +61,7 @@ usage ()
static void
usage_try ()
{
- char *arg_usage_try = _("Try 'calcurse -h' for more information.\n");
+ const char *arg_usage_try = _("Try 'calcurse -h' for more information.\n");
fputs (arg_usage_try, stdout);
}
@@ -71,7 +71,7 @@ usage_try ()
static void
version_arg ()
{
- char *vtext =
+ const char *vtext =
_("\nCopyright (c) 2004-2011 calcurse Development Team.\n"
"This is free software; see the source for copying conditions.\n");
@@ -85,7 +85,7 @@ version_arg ()
static void
help_arg ()
{
- char *htext =
+ const char *htext =
_("\nMiscellaneous:\n"
" -h, --help\n"
" print this help and exit.\n"