aboutsummaryrefslogtreecommitdiffstats
path: root/include/assert.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-13 03:48:22 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-13 03:48:22 +0200
commit05af780f82210b80783fa5870bce28189cc25cf1 (patch)
tree16cf2169f85775491ba44695bef1dd9a83fbc97a /include/assert.h
parentstatic_assert is only defined if C11 is used (diff)
downloadslibc-05af780f82210b80783fa5870bce28189cc25cf1.tar.gz
slibc-05af780f82210b80783fa5870bce28189cc25cf1.tar.bz2
slibc-05af780f82210b80783fa5870bce28189cc25cf1.tar.xz
__noreturn shall be at the beginning of the prototypes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/assert.h b/include/assert.h
index c3d69f3..73ebabd 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -92,8 +92,8 @@
* @param line The line in the source code whence the assertion was made
* @param func The function in the source code whence the assertion was made
*/
-void __assert_fail(const char*, int, const char*, int, const char*)
- __GCC_ONLY(__attribute__((nonnull(3, 5)))) __noreturn;
+__noreturn void __assert_fail(const char*, int, const char*, int, const char*)
+ __GCC_ONLY(__attribute__((nonnull(3, 5))));