summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c/thread-limit-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.c/thread-limit-1.c')
-rw-r--r--libgomp/testsuite/libgomp.c/thread-limit-1.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libgomp/testsuite/libgomp.c/thread-limit-1.c b/libgomp/testsuite/libgomp.c/thread-limit-1.c
index 7571f23e24d..1d9794a7a4f 100644
--- a/libgomp/testsuite/libgomp.c/thread-limit-1.c
+++ b/libgomp/testsuite/libgomp.c/thread-limit-1.c
@@ -3,11 +3,7 @@
#include <stdlib.h>
#include <unistd.h>
-
-extern int omp_get_thread_limit (void);
-extern int omp_set_dynamic (int);
-extern void omp_set_nested (int);
-extern int omp_get_num_threads (void);
+#include <omp.h>
int
main ()