summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-11 12:53:17 +0000
committerhasso <hasso>2004-10-11 12:53:17 +0000
commita149411b85bbe74cde47d82193026b9401b29de0 (patch)
tree87e720d2fad17c0af227e3eda4db321718a7bacb /lib/command.h
parent8552e37427c8c6f3b3f5e02e55e2a34b28604af6 (diff)
Some more const string fixes.
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h4
1 files changed, 2 insertions, 2 deletions
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) \