X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-exclude.c;h=9c7997d971a6cd53b1ed73171af17be98c947e68;hb=1d71dc7c690b5fe61e3e0c06303ffb59434bba4b;hp=bab4676329747e47bbb4379ce6837baea8c64a82;hpb=f6a5a124d0cb326acd4dfa9ce3276baa26734b16;p=gnulib.git diff --git a/tests/test-exclude.c b/tests/test-exclude.c index bab467632..9c7997d97 100644 --- a/tests/test-exclude.c +++ b/tests/test-exclude.c @@ -63,15 +63,10 @@ ARGMATCH_VERIFY (exclude_keywords, exclude_flags); /* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in , 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 ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) -# else -# define ATTRIBUTE_NORETURN /* empty */ -# endif -#endif -ARGMATCH_DIE_DECL ATTRIBUTE_NORETURN; +_Noreturn ARGMATCH_DIE_DECL; ARGMATCH_DIE_DECL { exit (1); } + #endif int