diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-18 04:49:32 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-18 04:52:01 -0500 |
commit | e63f98ff27516982c294ec05d9de95bfd72863dd (patch) | |
tree | 4b1b76b2fa91ddf9522dad8f49711f69101d2d8a /libc/sysdeps/linux/v850/bits/fcntl.h | |
parent | dd0bd6be9d72b87c78e43b4999367b9498892196 (diff) |
nptl: fix gcc noreturn warning
Current builds show the warning:
CC libpthread/nptl/pthread_create.os
libpthread/nptl/pthread_create.c: In function 'start_thread':
libpthread/nptl/pthread_create.c:418:3: warning: function declared
'noreturn' has a 'return' statement [enabled by default]
libpthread/nptl/pthread_create.c:418:3: warning: 'noreturn' function
does return [enabled by default]
Looking at glibc, it does not mark this function as noreturn. Testing
code size, gcc is smart enough to detect the code never actually returns
regardless of the attribute. So drop it to keep in sync with glibc and
to avoid the warnings.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/v850/bits/fcntl.h')
0 files changed, 0 insertions, 0 deletions