Skip to content

Commit 8a181f4

Browse files
committed
[OpenMP][Obvious] Fix incompatbile function prototype causing failures
Summary: This function needs `void` as the arguments to be ABI compatbile with what is actually defined. This is enforced when doing CUDA separable linking of the runtime.
1 parent 9bdeab1 commit 8a181f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/test/api/omp_get_num_procs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <stdio.h>
44

5-
int omp_get_num_procs();
5+
int omp_get_num_procs(void);
66

77
int main() {
88
int num_procs;

0 commit comments

Comments
 (0)