]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: log: make resolve_logger() static
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 14 May 2024 14:53:52 +0000 (16:53 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 13 Jun 2024 13:43:09 +0000 (15:43 +0200)
There is no need to expose this internal function, let's make it static.

src/log.c

index a6d074915d563f0e4f95ce85a1d89214bda7256a..d4e4932714bd4479dc3b04ebeebc8491bac1a631 100644 (file)
--- 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;