summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-05 20:47:47 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-05 20:47:47 +0000
commitfe4ce19e453c5540bab64f1b50e4d8d2a711b4ab (patch)
tree6604d485b5e190c6b9a3cb38c44fb8a6a8f5787b /sys/net/pf_if.c
parentf1f10cf08e3dd40224298f07caf3af91ae721f16 (diff)
const'ify the char * parameter to pfi_kif_get and pfi_group_change
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r--sys/net/pf_if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c
index f4441149266..a84f0aacb63 100644
--- a/sys/net/pf_if.c
+++ b/sys/net/pf_if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_if.c,v 1.37 2005/06/02 17:51:48 henning Exp $ */
+/* $OpenBSD: pf_if.c,v 1.38 2005/06/05 20:47:46 henning Exp $ */
/*
* Copyright 2005 Henning Brauer <henning@openbsd.org>
@@ -100,7 +100,7 @@ pfi_initialize(void)
}
struct pfi_kif *
-pfi_kif_get(char *kif_name)
+pfi_kif_get(const char *kif_name)
{
struct pfi_kif s, *kif;
@@ -279,7 +279,7 @@ pfi_detach_ifgroup(struct ifg_group *ifg)
}
void
-pfi_group_change(char *group)
+pfi_group_change(const char *group)
{
struct pfi_kif *kif;
struct pfi_dynaddr *dyn;