]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: tcpcheck: Don't needlessly expose proxy_parse_tcpcheck()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 26 Mar 2026 22:01:04 +0000 (23:01 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Apr 2026 14:34:38 +0000 (16:34 +0200)
proxy_parse_tcpcheck() function is not used outside of tcpcheck.c file. So
stop to export it.

include/haproxy/tcpcheck.h

index 23059868c4a7bc7dbac8dee9b9691622b5455bdd..cab0b6732a70e84caff06ec87d57df288cda0e0b 100644 (file)
@@ -83,10 +83,6 @@ struct tcpcheck_rule *parse_tcpcheck_expect(char **args, int cur_arg, struct pro
                                             struct list *rules, unsigned int proto,
                                             const char *file, int line, char **errmsg);
 
-int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx,
-                         const struct proxy *defpx, const char *file, int line,
-                         char **errmsg);
-
 int proxy_parse_tcp_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,
                              const char *file, int line);
 int proxy_parse_redis_check_opt(char **args, int cur_arg, struct proxy *curpx, const struct proxy *defpx,