Mercurial > hg > octave-shane > gnulib-hg
diff tests/test-argmatch.c @ 14384:588ed4cdea87
Fix misindentation of preprocessor directives.
* lib/argp-namefrob.h: Reindent preprocessor directives.
* lib/getopt_int.h (struct _getopt_data): Likewise.
* lib/progreloc.c (maybe_executable, find_executable): Likewise.
* lib/vasnprintf.c (decode_long_double): Likewise.
* tests/test-argmatch.c: Insert blank lines, for clarity.
* tests/test-exclude.c: Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 23 Feb 2011 10:58:06 +0100 |
parents | 724011432f7b |
children | 7d9ccb480220 |
line wrap: on
line diff
--- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -29,6 +29,7 @@ /* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and thus must link with a definition of that function. Provide it here. */ #ifdef ARGMATCH_DIE_DECL + # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8) # define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) # else @@ -37,6 +38,7 @@ ARGMATCH_DIE_DECL _GL_ATTRIBUTE_NORETURN; ARGMATCH_DIE_DECL { exit (1); } + #endif enum backup_type