diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-22 10:57:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-22 10:57:40 +0000 |
commit | 5a2d52808138eb6a7cd3b3c5a478fe705d85e7ff (patch) | |
tree | 596d0cc7cca24935e261dafbab81bfb58b0a84f6 /src | |
parent | 8ab42dc273079773642aff325d8d20e8c6e0c36b (diff) | |
download | coreutils-5a2d52808138eb6a7cd3b3c5a478fe705d85e7ff.tar.xz |
Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE.
Diffstat (limited to 'src')
-rw-r--r-- | src/test.c | 12 |
1 files changed, 3 insertions, 9 deletions
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) |