* tests/test-raise.c (handler): Use _Noreturn.
+2011-10-07 Bernhard Voelker <mail@bernhard-voelker.de>
+
+ raise tests: Avoid a GCC warning.
+ * tests/test-raise.c (handler): Use _Noreturn.
+
2011-10-07 Bruno Haible <bruno@clisp.org>
Tests for module 'ldexpf'.
#include "macros.h"
-static void
+/* It is safe to use _Noreturn here: exit() never returns, and GCC knows that
+ exit() is a non-returning function, even on platforms where its declaration
+ in <stdlib.h> does not have the 'noreturn' attribute. */
+static _Noreturn void
handler (int sig)
{
exit (0);