From: Aurelien DARRAGON Date: Tue, 14 May 2024 14:53:52 +0000 (+0200) Subject: MINOR: log: make resolve_logger() static X-Git-Tag: v3.1-dev1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42139fa16e043201e365ba533842d081e2d7dbbf;p=thirdparty%2Fhaproxy.git MINOR: log: make resolve_logger() static There is no need to expose this internal function, let's make it static. --- diff --git a/src/log.c b/src/log.c index a6d074915d..d4e4932714 100644 --- a/src/log.c +++ b/src/log.c @@ -1412,7 +1412,7 @@ static int postcheck_log_backend(struct proxy *be) * could also be set when no error occurred to report a diag warning), thus is * up to the caller to check it and to free it. */ -int resolve_logger(struct logger *logger, char **msg) +static int resolve_logger(struct logger *logger, char **msg) { struct log_target *target = &logger->target; int err_code = ERR_NONE;