aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_setschedpolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_setschedpolicy.c')
-rw-r--r--src/thread/pthread_attr_setschedpolicy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_attr_setschedpolicy.c b/src/thread/pthread_attr_setschedpolicy.c
index bb71f393..56ed057a 100644
--- a/src/thread/pthread_attr_setschedpolicy.c
+++ b/src/thread/pthread_attr_setschedpolicy.c
@@ -5,3 +5,11 @@ int pthread_attr_setschedpolicy(pthread_attr_t *a, int policy)
a->_a_policy = policy;
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif