diff options
author | Craig Tiller <ctiller@google.com> | 2017-11-03 09:09:36 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-11-03 09:09:36 -0700 |
commit | baa14a975ef92ee6fb301f0e684f56f18f2c55a7 (patch) | |
tree | 9a6cb2df58fe175e8abfccf2cbd40349726e46f3 /test/core/json/json_stream_error_test.c | |
parent | ef68fe7239a89095f1eaa89c1dd28b2b7be2a3c7 (diff) |
Update clang-format to 5.0
Diffstat (limited to 'test/core/json/json_stream_error_test.c')
-rw-r--r-- | test/core/json/json_stream_error_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/json/json_stream_error_test.c b/test/core/json/json_stream_error_test.c index 379cd5d078..975ccd2b42 100644 --- a/test/core/json/json_stream_error_test.c +++ b/test/core/json/json_stream_error_test.c @@ -29,12 +29,12 @@ static int g_string_clear_once = 0; -static void string_clear(void *userdata) { +static void string_clear(void* userdata) { GPR_ASSERT(!g_string_clear_once); g_string_clear_once = 1; } -static uint32_t read_char(void *userdata) { return GRPC_JSON_READ_CHAR_ERROR; } +static uint32_t read_char(void* userdata) { return GRPC_JSON_READ_CHAR_ERROR; } static grpc_json_reader_vtable reader_vtable = { string_clear, NULL, NULL, read_char, NULL, NULL, @@ -49,7 +49,7 @@ static void read_error() { GPR_ASSERT(status == GRPC_JSON_READ_ERROR); } -int main(int argc, char **argv) { +int main(int argc, char** argv) { grpc_test_init(argc, argv); read_error(); gpr_log(GPR_INFO, "json_stream_error success"); |