X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Ftest-argmatch.c;h=ae1ad510d618fb224dbeedf35fce841da67bc949;hb=d1a06d87a70c6a1f0588a70c91c182f6873aae41;hp=fa25a7c0ad32d125bfbe64f848a0b7b2cb950a9a;hpb=5d8fde12eeff4659e84a839851125b98eb477200;p=gnulib.git diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c index fa25a7c0a..ae1ad510d 100644 --- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -30,13 +30,7 @@ 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