aboutsummaryrefslogtreecommitdiffstats
path: root/src/assert.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-29 04:31:14 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-29 04:31:14 +0200
commit6fe45b4c7578cc9da7538dd9f57be6d8df730b3b (patch)
tree4399d20af6a514ac070615fb5b781eb85fcc46ab /src/assert.c
parentonly use __attributes__ if compiling with gcc (diff)
downloadslibc-6fe45b4c7578cc9da7538dd9f57be6d8df730b3b.tar.gz
slibc-6fe45b4c7578cc9da7538dd9f57be6d8df730b3b.tar.bz2
slibc-6fe45b4c7578cc9da7538dd9f57be6d8df730b3b.tar.xz
add __C11__, __C99__, __C90__, and __noreturn
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/assert.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/assert.c b/src/assert.c
index b21f916..67299d9 100644
--- a/src/assert.c
+++ b/src/assert.c
@@ -34,8 +34,7 @@
* @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* expression, int errnum, const char* file, int line, const char* func)
+void __assert_fail(const char* expression, int errnum, const char* file, int line, const char* func)
{
int tty = isatty(STDERR_FILENO);