coreutils will soon be including gnulib tests.
Here's the first fix, just pushed:

        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.

---
 ChangeLog             |    6 ++++++
 tests/test-argmatch.c |    5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 09587c1..1190f18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-10  Jim Meyering  <[EMAIL PROTECTED]>
+
+       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  <[EMAIL PROTECTED]>

        * doc/functions/snprintf.texi: Mention BeOS deficiency.
diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c
index 6aa5fd8..3d6f968 100644
--- a/tests/test-argmatch.c
+++ b/tests/test-argmatch.c
@@ -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[])
 {
--


Reply via email to