diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-07 20:44:49 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-08 21:49:59 +0200 |
commit | a20f36c5deae91805d936c6f7a726cf9c78ad70d (patch) | |
tree | f0314555e935621dbfc78da9d943671894903fce /src | |
parent | f2c94fb19c1545ae3d4ce3c399c6cd0aad4bc400 (diff) | |
download | calcurse-a20f36c5deae91805d936c6f7a726cf9c78ad70d.zip |
src/args.c: Add "void" in some function declarations
These functions don't take any parameters, "void" is the right parameter
signature to use here.
Fixes some warnings seen with "-Wstrict-prototypes".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/args.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -59,7 +59,7 @@ enum { * Print Calcurse usage and exit. */ static void -usage () +usage (void) { const char *arg_usage = _("Usage: calcurse [-g|-h|-v] [-N] [-an] [-t[num]] [-i<file>] [-x[format]]\n" @@ -70,7 +70,7 @@ usage () } static void -usage_try () +usage_try (void) { const char *arg_usage_try = _("Try 'calcurse -h' for more information.\n"); fputs (arg_usage_try, stdout); @@ -80,7 +80,7 @@ usage_try () * Print Calcurse version with a short copyright text and exit. */ static void -version_arg () +version_arg (void) { const char *vtext = _("\nCopyright (c) 2004-2012 calcurse Development Team.\n" @@ -94,7 +94,7 @@ version_arg () * Print the command line options and exit. */ static void -help_arg () +help_arg (void) { const char *htext = _("\nMiscellaneous:\n" |