diff options
author | 2015-11-19 07:56:13 -0800 | |
---|---|---|
committer | 2015-11-19 07:56:13 -0800 | |
commit | b774be46d76192ec0b2f073fa68b5b7f3b88a7be (patch) | |
tree | 8b638031bfffe046fa8bcfac2ba3916d8643e1de /src/core/support/slice.c | |
parent | 86958126c22d8b4ee420b6d03995a5db96ebd7e2 (diff) |
clang-format
Diffstat (limited to 'src/core/support/slice.c')
-rw-r--r-- | src/core/support/slice.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/support/slice.c b/src/core/support/slice.c index 0470533c1c..5b091f17b0 100644 --- a/src/core/support/slice.c +++ b/src/core/support/slice.c @@ -61,12 +61,13 @@ void gpr_slice_unref(gpr_slice slice) { nothing */ static void noop_ref_or_unref(void *unused) {} -static gpr_slice_refcount noop_refcount = {noop_ref_or_unref, noop_ref_or_unref}; +static gpr_slice_refcount noop_refcount = {noop_ref_or_unref, + noop_ref_or_unref}; gpr_slice gpr_slice_from_static_string(const char *s) { gpr_slice slice; slice.refcount = &noop_refcount; - slice.data.refcounted.bytes = (gpr_uint8*)s; + slice.data.refcounted.bytes = (gpr_uint8 *)s; slice.data.refcounted.length = strlen(s); return slice; } |