From f2ddce23d47fbd8f14bf73626a37d6ac291eaa3c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 27 Jul 2011 14:17:04 +0200 Subject: src/args.c: Mark various constant strings const Signed-off-by: Lukas Fleischer --- src/args.c | 8 ++++---- 1 file 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] [-x[format]]\n" " [-d |] [-s[date]] [-r[range]]\n" " [-c | -D] [-S] [--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" -- cgit v1.2.3-70-g09d2