Mercurial > hg > octave-nkf > gnulib-hg
changeset 9468:6eda531c067c
A better way to avoid link failure for the argmatch test.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 11 Nov 2007 14:26:28 +0100 |
parents | 08b76f84ac5d |
children | 756069cfb5f5 |
files | ChangeLog tests/test-argmatch.c |
diffstat | 2 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-11 Bruno Haible <bruno@clisp.org> + + * tests/test-argmatch.c (ARGMATCH_DIE): Undefine. + (usage): Remove function. + 2007-11-11 Bruno Haible <bruno@clisp.org> * m4/roundf.m4 (gl_FUNC_ROUNDF): Use gl_FUNC_FLOORF_LIBS and
--- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -19,6 +19,10 @@ #include <config.h> +/* Some packages define ARGMATCH_DIE in their <config.h>. Here we want to + assume the default definition of ARGMATCH_DIE. */ +#undef ARGMATCH_DIE + #include "argmatch.h" #include <stdio.h> @@ -62,11 +66,6 @@ numbered_backups, numbered_backups, numbered_backups }; -void -usage (void) -{ -} - int main (int argc, char *argv[]) {