summaryrefslogtreecommitdiff
path: root/nptl/tst-locale1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-18 00:53:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-18 00:53:21 +0000
commitf077a4a9f027b938bd091583e3ec34725cba428c (patch)
tree6052d47da431d7cd5e745dab1a908a5f54ffbfc7 /nptl/tst-locale1.c
parenta7d5c29129aab547faff1fd2cfe0d9095ec4689b (diff)
downloadglibc-f077a4a9f027b938bd091583e3ec34725cba428c.tar.gz
Update.
2002-12-17 Jakub Jelinek <jakub@redhat.com> * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock, mutex_unlock): If not building NPTL, use __libc_maybe_call2 if available, otherwise __libc_maybe_call. * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for cancellation handling. * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.
Diffstat (limited to 'nptl/tst-locale1.c')
-rw-r--r--nptl/tst-locale1.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c
index 3c88e729ba..08b43704e5 100644
--- a/nptl/tst-locale1.c
+++ b/nptl/tst-locale1.c
@@ -4,10 +4,14 @@
#include "../locale/tst-C-locale.c"
#include <pthread.h>
+#include <signal.h>
/* This is never called, just here to get pthreads linked in. */
-void
+int
useless (void)
{
pthread_create (0, 0, 0, 0);
+ /* This is to check __libc_current_sigrt* can be used in statically
+ linked apps. */
+ return SIGRTMIN;
}