diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-23 12:42:20 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-23 12:46:34 +0700 |
commit | bc2c6ba21551f54c42047b01beeccf9daae7a03a (patch) | |
tree | d6b11811686b9b5c15925e83369352ec7152e53f /system/include/libc/sys/unistd.h | |
parent | f99012f271c056ddc171f6a4ec011ad31ad936cd (diff) |
Re-instate _ATTRIBUTE() usages.
These were broken because the definition of _ATTRIBUTE() from
libcxx was different, so change the libc definition and usage
to match.
Fixes issue #992.
Diffstat (limited to 'system/include/libc/sys/unistd.h')
-rw-r--r-- | system/include/libc/sys/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/sys/unistd.h b/system/include/libc/sys/unistd.h index 082c5e4d..b0c6d505 100644 --- a/system/include/libc/sys/unistd.h +++ b/system/include/libc/sys/unistd.h @@ -14,7 +14,7 @@ extern "C" { extern char **environ; -void _EXFUN(_exit, (int __status )); /* _ATTRIBUTE ((noreturn))); */ +void _EXFUN(_exit, (int __status ) _ATTRIBUTE(noreturn)); int _EXFUN(access,(const char *__path, int __amode )); unsigned _EXFUN(alarm, (unsigned __secs )); |