const poison ifunit().
This commit is contained in:
parent
56fb88a64a
commit
6f6f873945
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if.c,v 1.51 1999/08/24 16:02:27 bouyer Exp $ */
|
||||
/* $NetBSD: if.c,v 1.52 1999/09/29 22:42:02 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
@ -510,7 +510,7 @@ if_slowtimo(arg)
|
||||
*/
|
||||
struct ifnet *
|
||||
ifunit(name)
|
||||
register char *name;
|
||||
const char *name;
|
||||
{
|
||||
register struct ifnet *ifp;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if.h,v 1.39 1999/09/21 22:16:24 matt Exp $ */
|
||||
/* $NetBSD: if.h,v 1.40 1999/09/29 22:42:02 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1993
|
||||
@ -419,7 +419,7 @@ int ifconf __P((u_long, caddr_t));
|
||||
void ifinit __P((void));
|
||||
int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
|
||||
int ifpromisc __P((struct ifnet *, int));
|
||||
struct ifnet *ifunit __P((char *));
|
||||
struct ifnet *ifunit __P((const char *));
|
||||
struct ifnet *if_withname __P((struct sockaddr *));
|
||||
|
||||
struct ifaddr *ifa_ifwithaddr __P((struct sockaddr *));
|
||||
|
Loading…
Reference in New Issue
Block a user