From 680b2bdf2fe0491ec4674bfcdde2d0a3e794995e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 27 Nov 2018 07:30:17 +0100 Subject: [PATCH] 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. --- src/mux_h2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index 197179221..b1bf62bf2 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,