Make memcpy_and_advance() static.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c266e4e9 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c266e4e9 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c266e4e9 Branch: refs/heads/master Commit: c266e4e9c58d3787895aa18fe6c1f561b2527ddd Parents: 5a2de11 Author: James Peach <[email protected]> Authored: Thu Sep 17 20:42:10 2015 -0700 Committer: James Peach <[email protected]> Committed: Thu Sep 17 20:42:10 2015 -0700 ---------------------------------------------------------------------- proxy/http2/HTTP2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c266e4e9/proxy/http2/HTTP2.cc ---------------------------------------------------------------------- diff --git a/proxy/http2/HTTP2.cc b/proxy/http2/HTTP2.cc index 0929def..6f0d4c8 100644 --- a/proxy/http2/HTTP2.cc +++ b/proxy/http2/HTTP2.cc @@ -97,7 +97,7 @@ memcpy_and_advance(uint8_t(&dst)[N], byte_pointer &src) src.u8 += N; } -void +static void memcpy_and_advance(uint8_t(&dst), byte_pointer &src) { dst = *src.u8;
