diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-05 20:49:26 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-05 20:49:26 +0000 |
commit | 0a90cdedf6832f7812ebb3630ebd7065679abbcc (patch) | |
tree | fc8205728510d0088dc687f013b51e3e5644bef5 /sys/net/if.c | |
parent | fe4ce19e453c5540bab64f1b50e4d8d2a711b4ab (diff) |
const'ify the char *groupname param to if_addgroup and if_delgroup
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index edb7761af18..0d84c6f3a07 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.123 2005/05/26 04:07:45 henning Exp $ */ +/* $OpenBSD: if.c,v 1.124 2005/06/05 20:49:25 henning Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1577,7 +1577,7 @@ if_detached_watchdog(struct ifnet *ifp) * Add a group to an interface */ int -if_addgroup(struct ifnet *ifp, char *groupname) +if_addgroup(struct ifnet *ifp, const char *groupname) { struct ifg_list *ifgl; struct ifg_group *ifg = NULL; @@ -1639,7 +1639,7 @@ if_addgroup(struct ifnet *ifp, char *groupname) * Remove a group from an interface */ int -if_delgroup(struct ifnet *ifp, char *groupname) +if_delgroup(struct ifnet *ifp, const char *groupname) { struct ifg_list *ifgl; struct ifg_member *ifgm; |