From: Willy Tarreau Date: Sun, 26 Apr 2026 09:52:41 +0000 (+0200) Subject: CLEANUP: mux-h2: remove duplicate forward declaration of h2s_rxbuf_{head,tail}() X-Git-Tag: v3.4-dev10~35 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=14a113472d7a699649ae023736e81e124945824e;p=haproxy.git CLEANUP: mux-h2: remove duplicate forward declaration of h2s_rxbuf_{head,tail}() These were strangely committed together with commit e4cb0ad632 ("MINOR: mux-h2/traces: add buffer-related info to h2s and h2c"). --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 85743a77c..41e5d828c 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -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)