From c8b246f10818a0c59d3c8b4dae234a44f680045e Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 14 May 2019 22:05:28 +0200 Subject: [PATCH] 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. --- include/proto/proto_http.h | 2 -- include/proto/stream.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h index 2f8be3f5e..102c5ded7 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 1461554f5..60338c997 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;