Fixed gratuitous ANSIisms.
This commit is contained in:
parent
a922ae59be
commit
a662bfc55f
@ -31,7 +31,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93
|
* @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93
|
||||||
* $Id: if_ethersubr.c,v 1.39 1997/11/07 08:53:18 phk Exp $
|
* $Id: if_ethersubr.c,v 1.40 1997/12/15 20:30:59 eivind Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_ipx.h"
|
#include "opt_ipx.h"
|
||||||
@ -704,7 +704,10 @@ ether_ifattach(ifp)
|
|||||||
SYSCTL_NODE(_net_link, IFT_ETHER, ether, CTLFLAG_RW, 0, "Ethernet");
|
SYSCTL_NODE(_net_link, IFT_ETHER, ether, CTLFLAG_RW, 0, "Ethernet");
|
||||||
|
|
||||||
int
|
int
|
||||||
ether_ioctl(struct ifnet *ifp, int command, caddr_t data)
|
ether_ioctl(ifp, command, data)
|
||||||
|
struct ifnet *ifp;
|
||||||
|
int command;
|
||||||
|
caddr_t data;
|
||||||
{
|
{
|
||||||
struct ifaddr *ifa = (struct ifaddr *) data;
|
struct ifaddr *ifa = (struct ifaddr *) data;
|
||||||
struct ifreq *ifr = (struct ifreq *) data;
|
struct ifreq *ifr = (struct ifreq *) data;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)if_ether.c 8.1 (Berkeley) 6/10/93
|
* @(#)if_ether.c 8.1 (Berkeley) 6/10/93
|
||||||
* $Id: if_ether.c,v 1.40 1997/05/14 16:39:52 tegge Exp $
|
* $Id: if_ether.c,v 1.41 1997/10/28 15:58:40 bde Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -386,7 +386,7 @@ arpresolve(ac, rt, m, dst, desten, rt0)
|
|||||||
* then the protocol-specific routine is called.
|
* then the protocol-specific routine is called.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
arpintr(void)
|
arpintr()
|
||||||
{
|
{
|
||||||
register struct mbuf *m;
|
register struct mbuf *m;
|
||||||
register struct arphdr *ar;
|
register struct arphdr *ar;
|
||||||
|
Loading…
Reference in New Issue
Block a user