From: Willy Tarreau Date: Tue, 27 Nov 2018 06:30:17 +0000 (+0100) Subject: MINOR: h2: make struct h2_ops static X-Git-Tag: v1.9-dev9~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=680b2bdf2fe0491ec4674bfcdde2d0a3e794995e;p=thirdparty%2Fhaproxy.git MINOR: h2: make struct h2_ops static There's no reason to export this descriptor, it used to be needed during early H2 development and will complicate porting to HTX. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 197179221d..b1bf62bf28 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3811,7 +3811,7 @@ static int h2_parse_max_concurrent_streams(char **args, int section_type, struct /***************************************/ /* The mux operations */ -const struct mux_ops h2_ops = { +static const struct mux_ops h2_ops = { .init = h2_init, .wake = h2_wake, .snd_buf = h2_snd_buf,