srv_cleanup_connections() is supposed to be static, so mark it as so.
This patch should be backported where commit
6318d33ce625
("BUG/MEDIUM: connections: force connections cleanup on server changes")
will be backported, that is to say v1.9 to v2.1.
Fixes: 6318d33ce625 ("BUG/MEDIUM: connections: force connections cleanup
on server changes")
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
/* cleanup connections for a given server
* might be useful when going on forced maintenance or live changing ip/port
*/
-void srv_cleanup_connections(struct server *srv)
+static void srv_cleanup_connections(struct server *srv)
{
struct connection *conn;
int did_remove;