From a20f36c5deae91805d936c6f7a726cf9c78ad70d Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 7 May 2012 20:44:49 +0200 Subject: 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 --- src/args.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/args.c b/src/args.c index 21eb14b..b861018 100644 --- a/src/args.c +++ b/src/args.c @@ -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] [-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" -- cgit v1.2.3-70-g09d2