X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-argmatch.c;h=9e24dc19f97486aeae3a55102e8cf6c8206f996d;hb=c9451e3bdc651a742f06b46a450497e59bb5e006;hp=fa25a7c0ad32d125bfbe64f848a0b7b2cb950a9a;hpb=5d8fde12eeff4659e84a839851125b98eb477200;p=gnulib.git diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c index fa25a7c0a..9e24dc19f 100644 --- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -1,5 +1,5 @@ /* Test of exact or abbreviated match search. - Copyright (C) 1990, 1998-1999, 2001-2011 Free Software Foundation, Inc. + Copyright (C) 1990, 1998-1999, 2001-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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