summaryrefslogtreecommitdiff
path: root/nptl/tst-locale1.c
diff options
context:
space:
mode:
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;
}