aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/udp_server.c
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-09-29 22:22:36 +0000
committerGravatar Vijay Pai <vpai@google.com>2015-09-29 22:22:36 +0000
commit7b080baf2abd5f826b519760cceb9b8b2174fd15 (patch)
tree58fab26a6ffb4597a3ab2de69fbb2e971d0769f6 /src/core/iomgr/udp_server.c
parent3ba6bf57d70e17e8c172dab6f9f352f15cd8b26b (diff)
C changes to avoid shadowed global declaration warnings in gcc4.4
Diffstat (limited to 'src/core/iomgr/udp_server.c')
-rw-r--r--src/core/iomgr/udp_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/iomgr/udp_server.c b/src/core/iomgr/udp_server.c
index d884359aa4..a8d611c3f2 100644
--- a/src/core/iomgr/udp_server.c
+++ b/src/core/iomgr/udp_server.c
@@ -399,8 +399,8 @@ done:
return allocated_port1 >= 0 ? allocated_port1 : allocated_port2;
}
-int grpc_udp_server_get_fd(grpc_udp_server *s, unsigned index) {
- return (index < s->nports) ? s->ports[index].fd : -1;
+int grpc_udp_server_get_fd(grpc_udp_server *s, unsigned port_index) {
+ return (port_index < s->nports) ? s->ports[port_index].fd : -1;
}
void grpc_udp_server_start(grpc_exec_ctx *exec_ctx, grpc_udp_server *s,