Skip to content

Commit

Permalink
Fix -Wstrict-prototypes warning
Browse files Browse the repository at this point in the history
Resolves #294.
  • Loading branch information
rebello95 committed Aug 18, 2018
1 parent 78ac010 commit c03c5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/CgRPC/shim/cgrpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void cgrpc_server_start(cgrpc_server *s);
cgrpc_completion_queue *cgrpc_server_get_completion_queue(cgrpc_server *s);

// completion queues
cgrpc_completion_queue *cgrpc_completion_queue_create_for_next();
cgrpc_completion_queue *cgrpc_completion_queue_create_for_next(void);
grpc_event cgrpc_completion_queue_get_next_event(cgrpc_completion_queue *cq,
double timeout);
void cgrpc_completion_queue_drain(cgrpc_completion_queue *cq);
Expand Down
2 changes: 1 addition & 1 deletion Sources/CgRPC/shim/completion_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <stdio.h>

grpc_completion_queue *cgrpc_completion_queue_create_for_next() {
grpc_completion_queue *cgrpc_completion_queue_create_for_next(void) {
return grpc_completion_queue_create_for_next(NULL);
}

Expand Down

0 comments on commit c03c5c7

Please sign in to comment.