You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2015/09/18 05:42:20 UTC

[2/2] trafficserver git commit: Make memcpy_and_advance() static.

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 <jp...@apache.org>
Authored: Thu Sep 17 20:42:10 2015 -0700
Committer: James Peach <jp...@apache.org>
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;