X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-exclude.c;h=9c7997d971a6cd53b1ed73171af17be98c947e68;hb=4e647944bd613bb7b419779881b5f3cb053f2869;hp=8b1164a7d227a159c1757f7e772afb14881951dd;hpb=5d8fde12eeff4659e84a839851125b98eb477200;p=gnulib.git diff --git a/tests/test-exclude.c b/tests/test-exclude.c index 8b1164a7d..9c7997d97 100644 --- a/tests/test-exclude.c +++ b/tests/test-exclude.c @@ -64,13 +64,7 @@ ARGMATCH_VERIFY (exclude_keywords, exclude_flags); 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 -# define _GL_ATTRIBUTE_NORETURN /* empty */ -# endif - -ARGMATCH_DIE_DECL _GL_ATTRIBUTE_NORETURN; +_Noreturn ARGMATCH_DIE_DECL; ARGMATCH_DIE_DECL { exit (1); } #endif