aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_setcancelstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_setcancelstate.c')
-rw-r--r--src/thread/pthread_setcancelstate.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_setcancelstate.c b/src/thread/pthread_setcancelstate.c
index 5ab8c338..28e96ad1 100644
--- a/src/thread/pthread_setcancelstate.c
+++ b/src/thread/pthread_setcancelstate.c
@@ -10,3 +10,11 @@ int __pthread_setcancelstate(int new, int *old)
}
weak_alias(__pthread_setcancelstate, pthread_setcancelstate);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif