mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: connections: align function declaration
srv_cleanup_connections() is supposed to be static, so mark it as so. This patch should be backported where commit6318d33ce6("BUG/MEDIUM: connections: force connections cleanup on server changes") will be backported, that is to say v1.9 to v2.1. Fixes:6318d33ce6("BUG/MEDIUM: connections: force connections cleanup on server changes") Signed-off-by: William Dauchy <w.dauchy@criteo.com>
This commit is contained in:
parent
f35d69e7fc
commit
707ad328ef
1 changed files with 1 additions and 1 deletions
|
|
@ -5169,7 +5169,7 @@ struct task *srv_cleanup_toremove_connections(struct task *task, void *context,
|
|||
/* 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue