View | Details | Raw Unified | Return to bug 194680 | Differences between
and this patch

Collapse All | Expand All

(-)devel/bison/files/patch-data__glr.c (+20 lines)
Line 0 Link Here
1
--- data/glr.c.orig	2013-11-14 10:01:22.000000000 -0500
2
+++ data/glr.c	2014-12-02 15:27:27.000000000 -0500
3
@@ -669,7 +669,7 @@
4
 static void yyexpandGLRStack (yyGLRStack* yystackp);
5
 #endif
6
 
7
-static _Noreturn void
8
+_Noreturn static void
9
 yyFail (yyGLRStack* yystackp]b4_pure_formals[, const char* yymsg)
10
 {
11
   if (yymsg != YY_NULLPTR)
12
@@ -677,7 +677,7 @@
13
   YYLONGJMP (yystackp->yyexception_buffer, 1);
14
 }
15
 
16
-static _Noreturn void
17
+_Noreturn static void
18
 yyMemoryExhausted (yyGLRStack* yystackp)
19
 {
20
   YYLONGJMP (yystackp->yyexception_buffer, 2);
(-)devel/bison/files/patch-lib__obstack.c (+20 lines)
Line 0 Link Here
1
--- lib/obstack.c.orig	2013-10-23 04:25:42.000000000 -0400
2
+++ lib/obstack.c	2014-12-02 15:27:51.000000000 -0500
3
@@ -87,7 +87,7 @@
4
    abort gracefully or use longjump - but shouldn't return.  This
5
    variable by default points to the internal function
6
    'print_and_abort'.  */
7
-static _Noreturn void print_and_abort (void);
8
+_Noreturn static void print_and_abort (void);
9
 void (*obstack_alloc_failed_handler) (void) = print_and_abort;
10
 
11
 /* Exit value used when 'print_and_abort' is used.  */
12
@@ -401,7 +401,7 @@
13
 #  include <libio/iolibio.h>
14
 # endif
15
 
16
-static _Noreturn void
17
+_Noreturn static void
18
 print_and_abort (void)
19
 {
20
   /* Don't change any of these strings.  Yes, it would be possible to add
(-)devel/bison/files/patch-lib__xalloc.h (+11 lines)
Line 0 Link Here
1
--- lib/xalloc.h.orig	2013-10-23 04:25:42.000000000 -0400
2
+++ lib/xalloc.h	2014-12-02 15:28:05.000000000 -0500
3
@@ -52,7 +52,7 @@
4
    or by using gnulib's xalloc-die module.  This is the
5
    function to call when one wants the program to die because of a
6
    memory allocation failure.  */
7
-extern _Noreturn void xalloc_die (void);
8
+_Noreturn extern void xalloc_die (void);
9
 
10
 void *xmalloc (size_t s)
11
       _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_ALLOC_SIZE ((1));
(-)devel/bison/files/patch-lib__xmemdup0.h (+11 lines)
Line 0 Link Here
1
--- lib/xmemdup0.h.orig	2013-08-02 11:03:13.000000000 -0400
2
+++ lib/xmemdup0.h	2014-12-02 15:28:20.000000000 -0500
3
@@ -30,7 +30,7 @@
4
    or by using gnulib's xalloc-die module.  This is the
5
    function to call when one wants the program to die because of a
6
    memory allocation failure.  */
7
-extern _Noreturn void xalloc_die (void);
8
+_Noreturn extern void xalloc_die (void);
9
 
10
 char *xmemdup0 (void const *p, size_t s);
11
 

Return to bug 194680