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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c20ddee5f3b0b7a6afa8b23c9513738a92fca33;p=pspp A better way to avoid link failure for the argmatch test. --- diff --git a/ChangeLog b/ChangeLog index ef5eb8fbcf..a6a3f1f69c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 --git a/tests/test-argmatch.c b/tests/test-argmatch.c index 3d6f968cf8..f6126f6bd9 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[]) {