From: Jim Meyering Date: Sun, 30 Nov 2008 16:39:11 +0000 (+0100) Subject: m4: avoid a warning from gcc's -Wstrict-prototypes X-Git-Tag: v7.1~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b14e5c40b9e7f6140a800a0b69eec693ea73fd09;p=thirdparty%2Fcoreutils.git m4: avoid a warning from gcc's -Wstrict-prototypes * m4/jm-macros.m4 (ARGMATCH_DIE_DECL): Use proper prototype for usage. --- diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 8fa17405ec..a53be5b38a 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -38,7 +38,7 @@ AC_DEFUN([coreutils_MACROS], # By default, argmatch should fail calling usage (1). AC_DEFINE(ARGMATCH_DIE, [usage (1)], [Define to the function xargmatch calls on failures.]) - AC_DEFINE(ARGMATCH_DIE_DECL, [void usage ()], + AC_DEFINE(ARGMATCH_DIE_DECL, [void usage (int _e)], [Define to the declaration of the xargmatch failure function.]) # used by ls