summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/tst_wcscspn.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-18 04:49:32 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-18 04:49:32 -0500
commitdd0bd6be9d72b87c78e43b4999367b9498892196 (patch)
tree1bd7f4ac7c31ea2472e693cd02fb39ef3943a0f5 /test/locale-mbwc/tst_wcscspn.c
parentb4725d8e2cf04ffbead7721b5b43151245679262 (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 'test/locale-mbwc/tst_wcscspn.c')
0 files changed, 0 insertions, 0 deletions