summaryrefslogtreecommitdiff
path: root/devel/libeio/files/patch-ecb.h
blob: 2372dbf690d3e3534746e868c13f55b51b8c44c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ecb.h.orig	2012-10-16 20:30:08 UTC
+++ ecb.h
@@ -472,8 +472,8 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t
   #define ecb_unreachable() __builtin_unreachable ()
 #else
   /* this seems to work fine, but gcc always emits a warning for it :/ */
-  ecb_inline void ecb_unreachable (void) ecb_noreturn;
-  ecb_inline void ecb_unreachable (void) { }
+  ecb_inline ecb_noreturn void ecb_unreachable (void);
+  ecb_inline ecb_noreturn void ecb_unreachable (void) { }
 #endif
 
 /* try to tell the compiler that some condition is definitely true */