2004-10-11 Paul Jakma <paul@dishone.st>
* if.h: mtu's should be unsigned.
* routemap.{c,h}: const char updates
* smux.{c,h}: ditto
diff --git a/lib/routemap.c b/lib/routemap.c
index cd231be..cc63e3a 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -489,7 +489,7 @@
/* strcmp wrapper function which don't crush even argument is NULL. */
int
-rulecmp (char *dst, char *src)
+rulecmp (const char *dst, const char *src)
{
if (dst == NULL)
{
@@ -511,7 +511,7 @@
/* Add match statement to route map. */
int
route_map_add_match (struct route_map_index *index, const char *match_name,
- char *match_arg)
+ const char *match_arg)
{
struct route_map_rule *rule;
struct route_map_rule *next;
@@ -570,7 +570,7 @@
/* Delete specified route match rule. */
int
route_map_delete_match (struct route_map_index *index, const char *match_name,
- char *match_arg)
+ const char *match_arg)
{
struct route_map_rule *rule;
struct route_map_rule_cmd *cmd;
@@ -597,7 +597,7 @@
/* Add route-map set statement to the route map. */
int
route_map_add_set (struct route_map_index *index, const char *set_name,
- char *set_arg)
+ const char *set_arg)
{
struct route_map_rule *rule;
struct route_map_rule *next;
@@ -656,7 +656,7 @@
/* Delete route map set rule. */
int
route_map_delete_set (struct route_map_index *index, const char *set_name,
- char *set_arg)
+ const char *set_arg)
{
struct route_map_rule *rule;
struct route_map_rule_cmd *cmd;