mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-26 23:21:11 +00:00
[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.
This commit is contained in:
parent
9bdeab1e7b
commit
8a181f43da
@ -2,7 +2,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int omp_get_num_procs();
|
||||
int omp_get_num_procs(void);
|
||||
|
||||
int main() {
|
||||
int num_procs;
|
||||
|
Loading…
Reference in New Issue
Block a user