From: Christopher Faulet Date: Tue, 14 May 2019 20:05:28 +0000 (+0200) Subject: MINOR: htx: Move the macro IS_HTX_STRM() in proto/stream.h X-Git-Tag: v2.0-dev5~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8b246f10818a0c59d3c8b4dae234a44f680045e;p=thirdparty%2Fhaproxy.git MINOR: htx: Move the macro IS_HTX_STRM() in proto/stream.h The macro IS_HTX_STRM() only relies on stream flags. So move it in proto/stream.h. --- diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h index 2f8be3f5ec..102c5ded7f 100644 --- a/include/proto/proto_http.h +++ b/include/proto/proto_http.h @@ -29,8 +29,6 @@ #include #include -#define IS_HTX_STRM(strm) ((strm)->flags & SF_HTX) - extern struct pool_head *pool_head_uniqueid; int process_cli(struct stream *s); diff --git a/include/proto/stream.h b/include/proto/stream.h index 1461554f53..60338c9974 100644 --- a/include/proto/stream.h +++ b/include/proto/stream.h @@ -31,6 +31,8 @@ #include #include +#define IS_HTX_STRM(strm) ((strm)->flags & SF_HTX) + extern struct pool_head *pool_head_stream; extern struct list streams;