From a149411b85bbe74cde47d82193026b9401b29de0 Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 11 Oct 2004 12:53:17 +0000 Subject: Some more const string fixes. --- lib/command.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/command.h') diff --git a/lib/command.h b/lib/command.h index 0f806c87..a8387346 100644 --- a/lib/command.h +++ b/lib/command.h @@ -192,7 +192,7 @@ struct desc /* DEFUN + DEFSH */ #define DEFUNSH(daemon, funcname, cmdname, cmdstr, helpstr) \ - int funcname (struct cmd_element *, struct vty *, int, char **); \ + int funcname (struct cmd_element *, struct vty *, int, const char *[]); \ struct cmd_element cmdname = \ { \ cmdstr, \ @@ -201,7 +201,7 @@ struct desc daemon \ }; \ int funcname \ - (struct cmd_element *self, struct vty *vty, int argc, char **argv) + (struct cmd_element *self, struct vty *vty, int argc, const char *argv[]) /* ALIAS macro which define existing command's alias. */ #define ALIAS(funcname, cmdname, cmdstr, helpstr) \ -- cgit v1.2.1