aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-09-28 09:29:04 -0700
committerGravatar Yang Gao <yangg@google.com>2015-09-28 09:29:04 -0700
commitbd88711447a62d0510852bba85c6fa510283949a (patch)
tree7ec6a965e9df643951f91c7f48231ecd2c9af0c5 /include
parent1bae5371b88839d448c4d9919af3fbf4fe6cf12c (diff)
parent852b17a402be5a601854cf2cd2b612230c8c7da8 (diff)
Merge pull request #3483 from ctiller/no-tcp-alloc
Save some allocations in tcp_posix.c
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/slice_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/slice_buffer.h b/include/grpc/support/slice_buffer.h
index 321ba288fd..f3f14a6aa0 100644
--- a/include/grpc/support/slice_buffer.h
+++ b/include/grpc/support/slice_buffer.h
@@ -87,7 +87,7 @@ void gpr_slice_buffer_swap(gpr_slice_buffer *a, gpr_slice_buffer *b);
/* move all of the elements of src into dst */
void gpr_slice_buffer_move_into(gpr_slice_buffer *src, gpr_slice_buffer *dst);
/* remove n bytes from the end of a slice buffer */
-void gpr_slice_buffer_trim_end(gpr_slice_buffer *src, size_t n);
+void gpr_slice_buffer_trim_end(gpr_slice_buffer *src, size_t n, gpr_slice_buffer *garbage);
#ifdef __cplusplus
}