changeset 29154:979ae36efcdb

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 15b4077884f2
children df0410b0ec05
files ChangeLog tests/test-argmatch.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Nov 09 12:59:46 2007 +0100
+++ b/ChangeLog	Sat Nov 10 16:31:31 2007 +0100
@@ -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	Fri Nov 09 12:59:46 2007 +0100
+++ b/tests/test-argmatch.c	Sat Nov 10 16:31:31 2007 +0100
@@ -62,6 +62,11 @@
   numbered_backups, numbered_backups, numbered_backups
 };
 
+void
+usage (void)
+{
+}
+
 int
 main (int argc, char *argv[])
 {