stdnoreturn, stdnoreturn-tests: remove modules
[gnulib.git] / lib / xalloc.h
index 7dbcc79..b792aef 100644 (file)
@@ -19,7 +19,6 @@
 # define XALLOC_H_
 
 # include <stddef.h>
-# include <stdnoreturn.h>
 
 # include "xalloc-oversized.h"
 
@@ -45,7 +44,7 @@ extern "C" {
    or by using gnulib's xalloc-die module.  This is the
    function to call when one wants the program to die because of a
    memory allocation failure.  */
-extern noreturn void xalloc_die (void);
+extern _Noreturn void xalloc_die (void);
 
 void *xmalloc (size_t s)
       _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1));