aboutsummaryrefslogtreecommitdiff
path: root/src/thread/thrd_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/thrd_sleep.c')
-rw-r--r--src/thread/thrd_sleep.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/thrd_sleep.c b/src/thread/thrd_sleep.c
index 97de5345..18b09a3a 100644
--- a/src/thread/thrd_sleep.c
+++ b/src/thread/thrd_sleep.c
@@ -12,3 +12,11 @@ int thrd_sleep(const struct timespec *req, struct timespec *rem)
default: return -2;
}
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif