]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: htx: Move the macro IS_HTX_STRM() in proto/stream.h
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 May 2019 20:05:28 +0000 (22:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 May 2019 05:42:12 +0000 (07:42 +0200)
The macro IS_HTX_STRM() only relies on stream flags. So move it in
proto/stream.h.

include/proto/proto_http.h
include/proto/stream.h

index 2f8be3f5ec09b1037933b355c6ae3e52652b150f..102c5ded7fb45d35a269b378bfce407f3f24851d 100644 (file)
@@ -29,8 +29,6 @@
 #include <proto/channel.h>
 #include <proto/stream.h>
 
-#define IS_HTX_STRM(strm) ((strm)->flags & SF_HTX)
-
 extern struct pool_head *pool_head_uniqueid;
 
 int process_cli(struct stream *s);
index 1461554f53123b188e42052f954627a6d13f6b8b..60338c9974dec1fc6c020f04dfd6481b651e85b0 100644 (file)
@@ -31,6 +31,8 @@
 #include <proto/stick_table.h>
 #include <proto/task.h>
 
+#define IS_HTX_STRM(strm) ((strm)->flags & SF_HTX)
+
 extern struct pool_head *pool_head_stream;
 extern struct list streams;