Commit 8a181f43 authored by Huber, Joseph's avatar Huber, Joseph
Browse files

[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.
parent 9bdeab1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

#include <stdio.h>

int omp_get_num_procs();
int omp_get_num_procs(void);

int main() {
  int num_procs;