diff options
author | 2016-06-07 15:02:59 -0700 | |
---|---|---|
committer | 2016-06-07 15:09:19 -0700 | |
commit | 4ad746e4e0077ea95d3e937a046575701592dd3f (patch) | |
tree | ee1cd65b2afce58c3d2b4e949e3c9dcc5bb1f775 /test | |
parent | b97e2d145efb4d0b407d18b43d3b7bb38bccf61f (diff) |
clang-format, fix headers, windows fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/fixtures/h2_fd.c | 10 | ||||
-rw-r--r-- | test/core/statistics/census_log_tests.c | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/test/core/end2end/fixtures/h2_fd.c b/test/core/end2end/fixtures/h2_fd.c index 7079080722..e938fe7730 100644 --- a/test/core/end2end/fixtures/h2_fd.c +++ b/test/core/end2end/fixtures/h2_fd.c @@ -36,18 +36,16 @@ #include <fcntl.h> #include <string.h> -#include <grpc/support/alloc.h> #include <grpc/grpc.h> #include <grpc/grpc_posix.h> +#include <grpc/support/alloc.h> #include <grpc/support/log.h> -#include "src/core/lib/iomgr/socket_utils_posix.h" #include "src/core/lib/iomgr/exec_ctx.h" +#include "src/core/lib/iomgr/socket_utils_posix.h" #include "src/core/lib/iomgr/unix_sockets_posix.h" #include "test/core/util/test_config.h" -typedef struct { - int fd_pair[2]; -} sp_fixture_data; +typedef struct { int fd_pair[2]; } sp_fixture_data; static void create_sockets(int sv[2]) { int flags; @@ -62,7 +60,7 @@ static void create_sockets(int sv[2]) { static grpc_end2end_test_fixture chttp2_create_fixture_socketpair( grpc_channel_args *client_args, grpc_channel_args *server_args) { - sp_fixture_data* fixture_data = gpr_malloc(sizeof(*fixture_data)); + sp_fixture_data *fixture_data = gpr_malloc(sizeof(*fixture_data)); grpc_end2end_test_fixture f; memset(&f, 0, sizeof(f)); diff --git a/test/core/statistics/census_log_tests.c b/test/core/statistics/census_log_tests.c index 8646a2fdf1..4baae6a73b 100644 --- a/test/core/statistics/census_log_tests.c +++ b/test/core/statistics/census_log_tests.c @@ -31,7 +31,6 @@ * */ -#include "src/core/ext/census/census_log.h" #include <grpc/support/cpu.h> #include <grpc/support/log.h> #include <grpc/support/port_platform.h> @@ -42,6 +41,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "src/core/ext/census/census_log.h" #include "test/core/util/test_config.h" /* Fills in 'record' of size 'size'. Each byte in record is filled in with the |