From: Bruno Haible Date: Sun, 11 Nov 2007 13:26:28 +0000 (+0100) Subject: A better way to avoid link failure for the argmatch test. X-Git-Tag: v0.1~7982 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=5c20ddee5f3b0b7a6afa8b23c9513738a92fca33;p=gnulib.git A better way to avoid link failure for the argmatch test. --- diff --git a/ChangeLog b/ChangeLog index ef5eb8fbc..a6a3f1f69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 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 gl_FUNC_CEILF_LIBS. * m4/round.m4 (gl_FUNC_ROUND): Use gl_FUNC_FLOOR_LIBS and diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c index 3d6f968cf..f6126f6bd 100644 --- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -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 @@ static const enum backup_type backup_vals[] = numbered_backups, numbered_backups, numbered_backups }; -void -usage (void) -{ -} - int main (int argc, char *argv[]) {