aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_getcpuclockid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_getcpuclockid.c')
-rw-r--r--src/thread/pthread_getcpuclockid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_getcpuclockid.c b/src/thread/pthread_getcpuclockid.c
index 9df14fb6..d404cb46 100644
--- a/src/thread/pthread_getcpuclockid.c
+++ b/src/thread/pthread_getcpuclockid.c
@@ -5,3 +5,11 @@ int pthread_getcpuclockid(pthread_t t, clockid_t *clockid)
*clockid = (-t->tid-1)*8U + 6;
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif