From bca78f977f7830ae1ba06a43995d3cddb0d40c89 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 5 Feb 2022 15:51:27 +0100 Subject: [PATCH] [config] const in print_full_help_outer --- src/config/cmdline.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/cmdline.c b/src/config/cmdline.c index 0f441c1e5..4d3c2547b 100644 --- a/src/config/cmdline.c +++ b/src/config/cmdline.c @@ -494,10 +494,10 @@ static void print_option_desc(const char *desc) done_string(&wrapped); } -static void print_full_help_outer(struct option *tree, char *path); +static void print_full_help_outer(struct option *tree, const char *path); static void -print_full_help_inner(struct option *tree, char *path, +print_full_help_inner(struct option *tree, const char *path, int trees) { struct option *option; @@ -630,7 +630,7 @@ print_full_help_inner(struct option *tree, char *path, } static void -print_full_help_outer(struct option *tree, char *path) +print_full_help_outer(struct option *tree, const char *path) { print_full_help_inner(tree, path, 0); print_full_help_inner(tree, path, 1);