# HG changeset patch # User Bruno Haible # Date 1194787588 -3600 # Node ID a246091e3851a9ca5bb0b314f6eaffbdcfddf8b6 # Parent 6e7154d84913180e8e43fec0c63c520e89e71c08 A better way to avoid link failure for the argmatch test. diff -r 6e7154d84913 -r a246091e3851 ChangeLog --- a/ChangeLog Sun Nov 11 14:17:22 2007 +0100 +++ b/ChangeLog Sun Nov 11 14:26:28 2007 +0100 @@ -1,3 +1,8 @@ +2007-11-11 Bruno Haible + + * tests/test-argmatch.c (ARGMATCH_DIE): Undefine. + (usage): Remove function. + 2007-11-11 Bruno Haible * m4/roundf.m4 (gl_FUNC_ROUNDF): Use gl_FUNC_FLOORF_LIBS and diff -r 6e7154d84913 -r a246091e3851 tests/test-argmatch.c --- a/tests/test-argmatch.c Sun Nov 11 14:17:22 2007 +0100 +++ b/tests/test-argmatch.c Sun Nov 11 14:26:28 2007 +0100 @@ -19,6 +19,10 @@ #include +/* Some packages define ARGMATCH_DIE in their . Here we want to + assume the default definition of ARGMATCH_DIE. */ +#undef ARGMATCH_DIE + #include "argmatch.h" #include @@ -62,11 +66,6 @@ numbered_backups, numbered_backups, numbered_backups }; -void -usage (void) -{ -} - int main (int argc, char *argv[]) {