aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-15 16:44:34 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-15 16:44:34 -0700
commit2a577fb7936ad33793cbbd652b496209382a8c17 (patch)
treeb927872487007f19d241d6db2459d63024bdc910
parent5cb79621d0d958eb3439f40700ac16240de5b65d (diff)
clang-format
-rw-r--r--test/core/internal_api_canaries/iomgr.c7
-rw-r--r--test/core/internal_api_canaries/transport.c13
2 files changed, 8 insertions, 12 deletions
diff --git a/test/core/internal_api_canaries/iomgr.c b/test/core/internal_api_canaries/iomgr.c
index 3b1a1bb899..cd74ccc562 100644
--- a/test/core/internal_api_canaries/iomgr.c
+++ b/test/core/internal_api_canaries/iomgr.c
@@ -80,10 +80,9 @@ static void test_code(void) {
grpc_endpoint endpoint;
grpc_endpoint_vtable vtable = {
- grpc_endpoint_read, grpc_endpoint_write,
- grpc_endpoint_add_to_pollset, grpc_endpoint_add_to_pollset_set,
- grpc_endpoint_shutdown, grpc_endpoint_destroy,
- grpc_endpoint_get_peer};
+ grpc_endpoint_read, grpc_endpoint_write, grpc_endpoint_add_to_pollset,
+ grpc_endpoint_add_to_pollset_set, grpc_endpoint_shutdown,
+ grpc_endpoint_destroy, grpc_endpoint_get_peer};
endpoint.vtable = &vtable;
/* exec_ctx.h */
diff --git a/test/core/internal_api_canaries/transport.c b/test/core/internal_api_canaries/transport.c
index 474a8a11ec..006d4cfd81 100644
--- a/test/core/internal_api_canaries/transport.c
+++ b/test/core/internal_api_canaries/transport.c
@@ -45,14 +45,11 @@
static void test_code(void) {
/* transport_impl.h */
grpc_transport transport;
- grpc_transport_vtable vtable = {12345,
- grpc_transport_init_stream,
- grpc_transport_set_pollset,
- grpc_transport_perform_stream_op,
- grpc_transport_perform_op,
- grpc_transport_destroy_stream,
- grpc_transport_destroy,
- grpc_transport_get_peer};
+ grpc_transport_vtable vtable = {
+ 12345, grpc_transport_init_stream, grpc_transport_set_pollset,
+ grpc_transport_perform_stream_op, grpc_transport_perform_op,
+ grpc_transport_destroy_stream, grpc_transport_destroy,
+ grpc_transport_get_peer};
transport.vtable = &vtable;
/* transport.h */