Avoid link failure for the argmatch test.
authorJim Meyering <meyering@redhat.com>
Sat, 10 Nov 2007 15:31:31 +0000 (16:31 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 10 Nov 2007 15:31:31 +0000 (16:31 +0100)
* tests/test-argmatch.c (usage): Define function to avoid a link
failure: argmatch_die requires a usage function.

ChangeLog
tests/test-argmatch.c

index 09587c1..1190f18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-10  Jim Meyering  <meyering@redhat.com>
+
+       Avoid link failure for the argmatch test.
+       * tests/test-argmatch.c (usage): Define function to avoid a link
+       failure: argmatch_die requires a usage function.
+
 2007-11-09  Bruno Haible  <bruno@clisp.org>
 
        * doc/functions/snprintf.texi: Mention BeOS deficiency.
index 6aa5fd8..3d6f968 100644 (file)
@@ -62,6 +62,11 @@ static const enum backup_type backup_vals[] =
   numbered_backups, numbered_backups, numbered_backups
 };
 
+void
+usage (void)
+{
+}
+
 int
 main (int argc, char *argv[])
 {