changeset 9463:1388aa25dd3d

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.
author Jim Meyering <meyering@redhat.com>
date Sat, 10 Nov 2007 16:31:31 +0100
parents 7bbddc0fae4a
children b875c172343f
files ChangeLog tests/test-argmatch.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/tests/test-argmatch.c
+++ b/tests/test-argmatch.c
@@ -62,6 +62,11 @@
   numbered_backups, numbered_backups, numbered_backups
 };
 
+void
+usage (void)
+{
+}
+
 int
 main (int argc, char *argv[])
 {