summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/name2id.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-11-02 15:34:44 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-11-02 15:34:44 +0000
commite84c8ef494253da47889c7fee137e7f3fbf23211 (patch)
tree32f8d517d6f4da4a91d775552758419dcdbe9dd6 /usr.sbin/bgpd/name2id.c
parent8babe8318ec5d7cd2bdf6efb3218ea6f1f19fcb7 (diff)
Mark some additional function arguments as const.
Diffstat (limited to 'usr.sbin/bgpd/name2id.c')
-rw-r--r--usr.sbin/bgpd/name2id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/name2id.c b/usr.sbin/bgpd/name2id.c
index 8b217a49db2..66f13a062c8 100644
--- a/usr.sbin/bgpd/name2id.c
+++ b/usr.sbin/bgpd/name2id.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: name2id.c,v 1.4 2005/07/01 09:19:24 claudio Exp $ */
+/* $OpenBSD: name2id.c,v 1.5 2005/11/02 15:34:43 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -48,7 +48,7 @@ struct n2id_labels rt_labels = TAILQ_HEAD_INITIALIZER(rt_labels);
struct n2id_labels pftable_labels = TAILQ_HEAD_INITIALIZER(pftable_labels);
u_int16_t
-rtlabel_name2id(char *name)
+rtlabel_name2id(const char *name)
{
return (_name2id(&rt_labels, name));
}
@@ -72,7 +72,7 @@ rtlabel_ref(u_int16_t id)
}
u_int16_t
-pftable_name2id(char *name)
+pftable_name2id(const char *name)
{
return (_name2id(&rt_labels, name));
}