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:49:32 -0500 |
commit | dd0bd6be9d72b87c78e43b4999367b9498892196 (patch) | |
tree | 1bd7f4ac7c31ea2472e693cd02fb39ef3943a0f5 /libpthread/linuxthreads/pthread_setegid.c | |
parent | b4725d8e2cf04ffbead7721b5b43151245679262 (diff) |
nptl: fix gcc noreturn warning
Current builds show the warning:
CC libpthread/nptl/sysdeps/unix/sysv/linux/mq_notify.os
libpthread/nptl/sysdeps/unix/sysv/linux/mq_notify.c: In function 'helper_thread':
libpthread/nptl/sysdeps/unix/sysv/linux/mq_notify.c:142:3: warning:
function declared 'noreturn' has a 'return' statement [enabled by default]
Looking at glibc, it does not mark this function as noreturn. Testing
code size, gcc is smart enough to detect the while(1){} never actually
returns regardless of the attribute. So drop it to keep in sync with
glibc and to avoid the warning.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libpthread/linuxthreads/pthread_setegid.c')
0 files changed, 0 insertions, 0 deletions