]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
m4: avoid a warning from gcc's -Wstrict-prototypes
authorJim Meyering <meyering@redhat.com>
Sun, 30 Nov 2008 16:39:11 +0000 (17:39 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Nov 2008 18:15:51 +0000 (19:15 +0100)
* m4/jm-macros.m4 (ARGMATCH_DIE_DECL): Use proper prototype for usage.

m4/jm-macros.m4

index 8fa17405ec898e56b23d3af3be3844ad59d2b26c..a53be5b38a111099e9852ce2c5fe17a01efe2e83 100644 (file)
@@ -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