From: Willy Tarreau Date: Wed, 3 Jun 2020 10:04:01 +0000 (+0200) Subject: REORG: include: move common/h2.h to haproxy/h2.h X-Git-Tag: v2.2-dev9~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf0731491b2595fa138200417be6ab6a14195c6f;p=thirdparty%2Fhaproxy.git REORG: include: move common/h2.h to haproxy/h2.h No change was performed, the file is only included from C files and currently doesn't need to be split into types+functions. --- diff --git a/include/common/h2.h b/include/haproxy/h2.h similarity index 99% rename from include/common/h2.h rename to include/haproxy/h2.h index 751989d7f6..aa0edec936 100644 --- a/include/common/h2.h +++ b/include/haproxy/h2.h @@ -1,5 +1,5 @@ /* - * include/common/h2.h + * include/haproxy/h2.h * This file contains types and macros used for the HTTP/2 protocol * * Copyright (C) 2000-2017 Willy Tarreau - w@1wt.eu @@ -26,14 +26,13 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _COMMON_H2_H -#define _COMMON_H2_H +#ifndef _HAPROXY_H2_H +#define _HAPROXY_H2_H +#include #include #include #include -#include - /* indexes of most important pseudo headers can be simplified to an almost * linear array by dividing the index by 2 for all values from 1 to 9, and @@ -325,7 +324,7 @@ static inline const char *h2_phdr_to_str(int phdr) } } -#endif /* _COMMON_H2_H */ +#endif /* _HAPROXY_H2_H */ /* * Local variables: diff --git a/src/h2.c b/src/h2.c index 14eeabc2e7..7e5811346f 100644 --- a/src/h2.c +++ b/src/h2.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/hpack-dec.c b/src/hpack-dec.c index 8f8e02bcce..e318ac3639 100644 --- a/src/hpack-dec.c +++ b/src/hpack-dec.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/mux_h1.c b/src/mux_h1.c index 4afaa29c53..ef22ccee18 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/mux_h2.c b/src/mux_h2.c index adc789ad2e..6ff4184381 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include