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.
This commit is contained in:
Willy Tarreau 2018-11-27 07:30:17 +01:00
parent 6160832bf7
commit 680b2bdf2f

View File

@ -3811,7 +3811,7 @@ static int h2_parse_max_concurrent_streams(char **args, int section_type, struct
/***************************************/ /***************************************/
/* The mux operations */ /* The mux operations */
const struct mux_ops h2_ops = { static const struct mux_ops h2_ops = {
.init = h2_init, .init = h2_init,
.wake = h2_wake, .wake = h2_wake,
.snd_buf = h2_snd_buf, .snd_buf = h2_snd_buf,