From: Willy Tarreau Date: Thu, 10 Jan 2019 09:00:08 +0000 (+0100) Subject: MINOR: mux-h1: make the mux_h1_ops struct static X-Git-Tag: v2.0-dev1~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77a158c87cc6df9845d628156f93a5932a31532;p=thirdparty%2Fhaproxy.git MINOR: mux-h1: make the mux_h1_ops struct static It was needlessly exported while it's only used inside the mux. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index d4d3eb8de8..17674c7224 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -2337,7 +2337,7 @@ static void h1_show_fd(struct buffer *msg, struct connection *conn) /****************************************/ /* The mux operations */ -const struct mux_ops mux_h1_ops = { +static const struct mux_ops mux_h1_ops = { .init = h1_init, .wake = h1_wake, .attach = h1_attach,