From 54620523e2a75b961da9c6ce70fd91fcb7788856 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 6 Sep 2018 18:14:09 +0200 Subject: [PATCH] MINOR: log: One const should be enough. "const const" doesn't bring much more constness, so only use one. --- include/proto/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proto/log.h b/include/proto/log.h index 7fb1f04df..b994470dd 100644 --- a/include/proto/log.h +++ b/include/proto/log.h @@ -151,7 +151,7 @@ int get_log_facility(const char *fac); * * Return the adress of the \0 character, or NULL on error */ -char *lf_text_len(char *dst, const const char *src, size_t len, size_t size, const struct logformat_node *node); +char *lf_text_len(char *dst, const char *src, size_t len, size_t size, const struct logformat_node *node); /* * Write a IP adress to the log string