aboutsummaryrefslogtreecommitdiffstats
path: root/include/unistd.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/unistd.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/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 6402c27..fb4992d 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -135,7 +135,7 @@ void* sbrk(ptrdiff_t) /* TODO implement sbrk */
/* TODO implement exit-functions */
-void _exit(int) __noreturn;
+__noreturn void _exit(int);
/* TODO implement I/O */