aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-10 10:42:34 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-10 10:42:34 -0700
commitb4580d4e0e18812bf214b2b92985741dedbd1527 (patch)
tree02fbfc279b1c44698d90685ac69227b5aa728f47 /src/core
parent104f5d4c44a6003b13b997ee6787a25826b89192 (diff)
Added static where needed
Diffstat (limited to 'src/core')
-rw-r--r--src/core/surface/call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index 1e85b0f082..20c41cbbd7 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -367,7 +367,7 @@ grpc_completion_queue *grpc_call_get_completion_queue(grpc_call *call) {
return call->cq;
}
-grpc_cq_completion *allocate_completion(grpc_call *call) {
+static grpc_cq_completion *allocate_completion(grpc_call *call) {
gpr_uint8 i;
gpr_mu_lock(&call->completion_mu);
for (i = 0; i < GPR_ARRAY_SIZE(call->completions); i++) {
@@ -382,7 +382,7 @@ grpc_cq_completion *allocate_completion(grpc_call *call) {
abort();
}
-void done_completion(void *call, grpc_cq_completion *completion) {
+static void done_completion(void *call, grpc_cq_completion *completion) {
grpc_call *c = call;
gpr_mu_lock(&c->completion_mu);
c->allocated_completions &= ~(1u << (completion - c->completions));