From 5a2d52808138eb6a7cd3b3c5a478fe705d85e7ff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Aug 1999 10:57:40 +0000 Subject: Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE. --- src/test.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/test.c b/src/test.c index 273a35d8d..d3737f93e 100644 --- a/src/test.c +++ b/src/test.c @@ -122,15 +122,9 @@ static int term PARAMS ((void)); static int and PARAMS ((void)); static int or PARAMS ((void)); -#if __GNUC__ >= 2 && defined (__GNUC_MINOR__) \ - && __GNUC_MINOR__ >= 5 && !defined (__STRICT_ANSI__) -# define NO_RETURN_ATTRIBUTE __attribute__ ((noreturn)) -#else -# define NO_RETURN_ATTRIBUTE /* empty */ -#endif - -static void test_syntax_error PARAMS ((char *format, char *arg)) NO_RETURN_ATTRIBUTE; -static void beyond PARAMS ((void)) NO_RETURN_ATTRIBUTE; +static void test_syntax_error PARAMS ((char *format, char *arg)) + ATTRIBUTE_NORETURN; +static void beyond PARAMS ((void)) ATTRIBUTE_NORETURN; static void test_syntax_error (char *format, char *arg) -- cgit v1.2.3-70-g09d2