]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: h2: make struct h2_ops static
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Nov 2018 06:30:17 +0000 (07:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Nov 2018 08:59:48 +0000 (09:59 +0100)
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

index 197179221de0e198a24331da239e4e0a482907d6..b1bf62bf2829a52a425f8e8e36d727fed8d0c29d 100644 (file)
@@ -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,