diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-06 11:20:50 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-06 11:20:50 -0700 |
commit | f1bff016319861348e6a0460954c35634ea452b2 (patch) | |
tree | 428ce6b5424111038324c363fa7b69a83493dc16 /src/core/support/time_posix.c | |
parent | a368bd26d18c3ed11e3349b7034eda9df9d4ebab (diff) |
clang-format changed files
Diffstat (limited to 'src/core/support/time_posix.c')
-rw-r--r-- | src/core/support/time_posix.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/support/time_posix.c b/src/core/support/time_posix.c index d5797e0db2..f9b7958783 100644 --- a/src/core/support/time_posix.c +++ b/src/core/support/time_posix.c @@ -56,10 +56,7 @@ static gpr_timespec gpr_from_timespec(struct timespec ts) { } /** maps gpr_clock_type --> clockid_t for clock_gettime */ -static clockid_t clockid_for_gpr_clock[] = { - CLOCK_MONOTONIC, - CLOCK_REALTIME -}; +static clockid_t clockid_for_gpr_clock[] = {CLOCK_MONOTONIC, CLOCK_REALTIME}; void gpr_time_init(void) {} @@ -79,7 +76,7 @@ static double g_time_scale; static uint64_t g_time_start; void gpr_time_init(void) { - mach_timebase_info_data_t tb = { 0, 1 }; + mach_timebase_info_data_t tb = {0, 1}; mach_timebase_info(&tb); g_time_scale = tb.numer; g_time_scale /= tb.denom; |