]> git.kaiwu.me - haproxy.git/commitdiff
CLEANUP: mux-h2: remove duplicate forward declaration of h2s_rxbuf_{head,tail}()
authorWilly Tarreau <w@1wt.eu>
Sun, 26 Apr 2026 09:52:41 +0000 (11:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 Apr 2026 12:44:29 +0000 (14:44 +0200)
These were strangely committed together with commit e4cb0ad632 ("MINOR:
mux-h2/traces: add buffer-related info to h2s and h2c").

src/mux_h2.c

index 85743a77c1434eb6dd1f7e172ff2db6121a66b45..41e5d828cc806ad466620f4b30996d4e1a991a3b 100644 (file)
@@ -567,8 +567,6 @@ static int h2_dump_h2c_info(struct buffer *msg, struct h2c *h2c, const char *pfx
 static int h2_dump_h2s_info(struct buffer *msg, const struct h2s *h2s, const char *pfx);
 static inline struct buffer *h2s_rxbuf_head(const struct h2s *h2s);
 static inline struct buffer *h2s_rxbuf_tail(const struct h2s *h2s);
-static inline struct buffer *h2s_rxbuf_head(const struct h2s *h2s);
-static inline struct buffer *h2s_rxbuf_tail(const struct h2s *h2s);
 
 /* returns the stconn associated to the H2 stream */
 static forceinline struct stconn *h2s_sc(const struct h2s *h2s)