summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/command.c2
-rw-r--r--lib/command.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index b6dd8bacfb..07f8674e30 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -3972,7 +3972,7 @@ DEFUN (no_banner_motd,
/* Set config filename. Called from vty.c */
void
-host_config_set (char *filename)
+host_config_set (const char *filename)
{
if (host.config)
XFREE (MTYPE_HOST, host.config);
diff --git a/lib/command.h b/lib/command.h
index 9a54821173..9a890f9be3 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -546,7 +546,7 @@ extern struct cmd_element config_quit_cmd;
extern struct cmd_element config_help_cmd;
extern struct cmd_element config_list_cmd;
extern char *host_config_file (void);
-extern void host_config_set (char *);
+extern void host_config_set (const char *);
extern void print_version (const char *);