aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_setname_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_setname_np.c')
-rw-r--r--src/thread/pthread_setname_np.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_setname_np.c b/src/thread/pthread_setname_np.c
index fc2d2306..91697523 100644
--- a/src/thread/pthread_setname_np.c
+++ b/src/thread/pthread_setname_np.c
@@ -24,3 +24,11 @@ int pthread_setname_np(pthread_t thread, const char *name)
pthread_setcancelstate(cs, 0);
return status;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif