summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-11-30 17:39:11 +0100
committerJim Meyering <meyering@redhat.com>2008-11-30 19:15:51 +0100
commitb14e5c40b9e7f6140a800a0b69eec693ea73fd09 (patch)
tree123f62c008bee5a6abbebd2e6b2d61b018dd89ed
parent90f74735aa2f4753a3ae9cea848ef98daa31b7a6 (diff)
downloadcoreutils-b14e5c40b9e7f6140a800a0b69eec693ea73fd09.tar.xz
m4: avoid a warning from gcc's -Wstrict-prototypes
* m4/jm-macros.m4 (ARGMATCH_DIE_DECL): Use proper prototype for usage.
-rw-r--r--m4/jm-macros.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 8fa17405e..a53be5b38 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