aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/support
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-10-20 14:49:58 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-10-20 14:49:58 -0700
commit739ff08a7f4686306ef8d5b72c2a89b12305e275 (patch)
tree0134ca01d8f82382f6eb618771e801898fca23a1 /include/grpc/support
parent0c0ebc57e26ffc0579fda10cce65976d8ad06e0f (diff)
Fix gRPC Core API void function definition
Diffstat (limited to 'include/grpc/support')
-rw-r--r--include/grpc/support/alloc.h2
-rw-r--r--include/grpc/support/log.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc/support/alloc.h b/include/grpc/support/alloc.h
index 4b59e137f2..5a01c15976 100644
--- a/include/grpc/support/alloc.h
+++ b/include/grpc/support/alloc.h
@@ -58,7 +58,7 @@ GPRAPI void gpr_free_aligned(void *ptr);
GPRAPI void gpr_set_allocation_functions(gpr_allocation_functions functions);
/** Return the family of allocation functions currently in effect. */
-GPRAPI gpr_allocation_functions gpr_get_allocation_functions();
+GPRAPI gpr_allocation_functions gpr_get_allocation_functions(void);
#ifdef __cplusplus
}
diff --git a/include/grpc/support/log.h b/include/grpc/support/log.h
index a22fb6a6e2..7190399aca 100644
--- a/include/grpc/support/log.h
+++ b/include/grpc/support/log.h
@@ -68,7 +68,7 @@ GPRAPI void gpr_log_message(const char *file, int line,
/** Set global log verbosity */
GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print);
-GPRAPI void gpr_log_verbosity_init();
+GPRAPI void gpr_log_verbosity_init(void);
/** Log overrides: applications can use this API to intercept logging calls
and use their own implementations */