From: Francesco Chemolli Date: Wed, 29 Aug 2012 09:54:30 +0000 (+0200) Subject: Moved getStringPrefix prototype to HttpHeaderTools.h X-Git-Tag: sourceformat-review-1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dff871533b5e709c2e5d193f6101341e03a26e9;p=thirdparty%2Fsquid.git Moved getStringPrefix prototype to HttpHeaderTools.h --- diff --git a/src/HttpHeaderTools.h b/src/HttpHeaderTools.h index 4f811bfa38..e7678649b4 100644 --- a/src/HttpHeaderTools.h +++ b/src/HttpHeaderTools.h @@ -106,4 +106,6 @@ extern int httpHeaderHasConnDir(const HttpHeader * hdr, const char *directive); extern int httpHeaderParseInt(const char *start, int *val); extern void httpHeaderPutStrf(HttpHeader * hdr, http_hdr_type id, const char *fmt,...) PRINTF_FORMAT_ARG3; +extern const char *getStringPrefix(const char *str, const char *end); + #endif diff --git a/src/protos.h b/src/protos.h index d3e1e66130..b0c73de425 100644 --- a/src/protos.h +++ b/src/protos.h @@ -56,8 +56,6 @@ class HttpRequest; class HttpReply; -extern const char *getStringPrefix(const char *str, const char *end); - /* store report about current header usage and other stats */ void httpHeaderStoreReport(StoreEntry * e); SQUIDCEXTERN void httpHdrMangleList(HttpHeader *, HttpRequest *, int req_or_rep);