aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_cleanup_push.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_cleanup_push.c')
-rw-r--r--src/thread/pthread_cleanup_push.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_cleanup_push.c b/src/thread/pthread_cleanup_push.c
index 9b21764b..f0afdd04 100644
--- a/src/thread/pthread_cleanup_push.c
+++ b/src/thread/pthread_cleanup_push.c
@@ -18,3 +18,11 @@ void _pthread_cleanup_pop(struct __ptcb *cb, int run)
__do_cleanup_pop(cb);
if (run) cb->__f(cb->__x);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif