diff options
Diffstat (limited to 'include/grpc/support/cpu.h')
-rw-r--r-- | include/grpc/support/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/support/cpu.h b/include/grpc/support/cpu.h index db4bdd42aa..3ca83b5a0d 100644 --- a/include/grpc/support/cpu.h +++ b/include/grpc/support/cpu.h @@ -44,13 +44,13 @@ extern "C" { /* Return the number of CPU cores on the current system. Will return 0 if the information is not available. */ -GPR_API unsigned gpr_cpu_num_cores(void); +GPRAPI unsigned gpr_cpu_num_cores(void); /* Return the CPU on which the current thread is executing; N.B. This should be considered advisory only - it is possible that the thread is switched to a different CPU at any time. Returns a value in range [0, gpr_cpu_num_cores() - 1] */ -GPR_API unsigned gpr_cpu_current_cpu(void); +GPRAPI unsigned gpr_cpu_current_cpu(void); #ifdef __cplusplus } // extern "C" |