aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/slice.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-11-19 07:56:13 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-11-19 07:56:13 -0800
commitb774be46d76192ec0b2f073fa68b5b7f3b88a7be (patch)
tree8b638031bfffe046fa8bcfac2ba3916d8643e1de /src/core/support/slice.c
parent86958126c22d8b4ee420b6d03995a5db96ebd7e2 (diff)
clang-format
Diffstat (limited to 'src/core/support/slice.c')
-rw-r--r--src/core/support/slice.c5
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;
}