summaryrefslogtreecommitdiffstats
path: root/lib/command.h
diff options
context:
space:
mode:
authorpaul <paul>2004-10-13 05:22:18 +0000
committerpaul <paul>2004-10-13 05:22:18 +0000
commitb380755ad7ac72885b83428ebd740a261b7c57f5 (patch)
tree50085205e7809aeb4d9bbf3cde1c11173db10f29 /lib/command.h
parent11fdc1dcd9937bc0bc20864ce17258dd0367f71d (diff)
downloadquagga-b380755ad7ac72885b83428ebd740a261b7c57f5.tar.bz2
quagga-b380755ad7ac72885b83428ebd740a261b7c57f5.tar.xz
2004-10-13 Paul Jakma <paul@dishone.st>
* (global) more const'ification. * sockunion.c: (sockunion_su2str) buffer should be sized SU_ADDRSTRLEN. (sockunion_log) do not return stack variables, strdup buf before return. * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied values against ULONG_MAX is daft, when caller probably has passed a type that can not hold ULONG_MAX. use a temporary long instead. Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index a8387346..8faf534d 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -286,7 +286,7 @@ void install_default (enum node_type);
void install_element (enum node_type, struct cmd_element *);
void sort_node ();
-char *argv_concat (char **, int, int);
+char *argv_concat (const char **, int, int);
vector cmd_make_strvec (const char *);
void cmd_free_strvec (vector);
vector cmd_describe_command ();