summaryrefslogtreecommitdiff
path: root/tests/test-argmatch.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-11-11 14:26:28 +0100
committerBruno Haible <bruno@clisp.org>2007-11-11 14:26:28 +0100
commit5c20ddee5f3b0b7a6afa8b23c9513738a92fca33 (patch)
tree95514568b16977ae138dbb802bcc5482dbff2f21 /tests/test-argmatch.c
parent13314b446d38305438b86c5baafe72395376e310 (diff)
downloadgnulib-5c20ddee5f3b0b7a6afa8b23c9513738a92fca33.tar.gz
A better way to avoid link failure for the argmatch test.
Diffstat (limited to 'tests/test-argmatch.c')
-rw-r--r--tests/test-argmatch.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c
index 3d6f968cf8..f6126f6bd9 100644
--- a/tests/test-argmatch.c
+++ b/tests/test-argmatch.c
@@ -19,6 +19,10 @@
#include <config.h>
+/* Some packages define ARGMATCH_DIE in their <config.h>. Here we want to
+ assume the default definition of ARGMATCH_DIE. */
+#undef ARGMATCH_DIE
+
#include "argmatch.h"
#include <stdio.h>
@@ -62,11 +66,6 @@ static const enum backup_type backup_vals[] =
numbered_backups, numbered_backups, numbered_backups
};
-void
-usage (void)
-{
-}
-
int
main (int argc, char *argv[])
{