]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-h1: make the mux_h1_ops struct static
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Jan 2019 09:00:08 +0000 (10:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Jan 2019 09:00:08 +0000 (10:00 +0100)
It was needlessly exported while it's only used inside the mux.

src/mux_h1.c

index d4d3eb8de847b10723063464f3a14e549b1b1acd..17674c7224d3d0537dfff4236b657c945c508b1b 100644 (file)
@@ -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,