From 5c20ddee5f3b0b7a6afa8b23c9513738a92fca33 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 11 Nov 2007 14:26:28 +0100 Subject: [PATCH] A better way to avoid link failure for the argmatch test. --- ChangeLog | 5 +++++ tests/test-argmatch.c | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) 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[]) { -- 2.11.0