aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/completion_queue_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/completion_queue_test.c')
-rw-r--r--test/core/surface/completion_queue_test.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/core/surface/completion_queue_test.c b/test/core/surface/completion_queue_test.c
index 9be2a67d8d..71f9cc2291 100644
--- a/test/core/surface/completion_queue_test.c
+++ b/test/core/surface/completion_queue_test.c
@@ -47,7 +47,7 @@ static void increment_int_on_finish(void *user_data, grpc_op_error error) {
++*(int *)user_data;
}
-static void *create_test_tag() {
+static void *create_test_tag(void) {
static gpr_intptr i = 0;
return (void *)(++i);
}
@@ -64,12 +64,12 @@ static void shutdown_and_destroy(grpc_completion_queue *cc) {
}
/* ensure we can create and destroy a completion channel */
-static void test_no_op() {
+static void test_no_op(void) {
LOG_TEST();
shutdown_and_destroy(grpc_completion_queue_create());
}
-static void test_wait_empty() {
+static void test_wait_empty(void) {
grpc_completion_queue *cc;
LOG_TEST();
@@ -79,7 +79,7 @@ static void test_wait_empty() {
shutdown_and_destroy(cc);
}
-static void test_cq_end_read() {
+static void test_cq_end_read(void) {
grpc_event *ev;
grpc_completion_queue *cc;
int on_finish_called = 0;
@@ -105,7 +105,7 @@ static void test_cq_end_read() {
shutdown_and_destroy(cc);
}
-static void test_cq_end_invoke_accepted() {
+static void test_cq_end_invoke_accepted(void) {
grpc_event *ev;
grpc_completion_queue *cc;
int on_finish_called = 0;
@@ -131,7 +131,7 @@ static void test_cq_end_invoke_accepted() {
shutdown_and_destroy(cc);
}
-static void test_cq_end_write_accepted() {
+static void test_cq_end_write_accepted(void) {
grpc_event *ev;
grpc_completion_queue *cc;
int on_finish_called = 0;
@@ -157,7 +157,7 @@ static void test_cq_end_write_accepted() {
shutdown_and_destroy(cc);
}
-static void test_cq_end_finish_accepted() {
+static void test_cq_end_finish_accepted(void) {
grpc_event *ev;
grpc_completion_queue *cc;
int on_finish_called = 0;
@@ -183,7 +183,7 @@ static void test_cq_end_finish_accepted() {
shutdown_and_destroy(cc);
}
-static void test_cq_end_client_metadata_read() {
+static void test_cq_end_client_metadata_read(void) {
grpc_event *ev;
grpc_completion_queue *cc;
int on_finish_called = 0;
@@ -210,7 +210,7 @@ static void test_cq_end_client_metadata_read() {
shutdown_and_destroy(cc);
}
-static void test_pluck() {
+static void test_pluck(void) {
grpc_event *ev;
grpc_completion_queue *cc;
void *tags[128];
@@ -273,7 +273,7 @@ typedef struct test_thread_options {
grpc_completion_queue *cc;
} test_thread_options;
-gpr_timespec ten_seconds_time() {
+gpr_timespec ten_seconds_time(void) {
return gpr_time_add(gpr_now(), gpr_time_from_micros(10 * 1000000));
}