Move the prototype definition of ether_input() from if.h to if_ether.h.

This commit is contained in:
msaitoh 2012-10-25 11:53:14 +00:00
parent 11dd166429
commit a9ceb4700c
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if.h,v 1.154 2011/10/25 22:26:18 dyoung Exp $ */
/* $NetBSD: if.h,v 1.155 2012/10/25 11:53:14 msaitoh Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -852,8 +852,6 @@ extern struct ifnet **ifindex2ifnet;
extern struct ifnet *lo0ifp;
extern size_t if_indexlim;
void ether_input(struct ifnet *, struct mbuf *);
int ifreq_setaddr(u_long, struct ifreq *, const struct sockaddr *);
struct ifnet *if_alloc(u_char);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ether.h,v 1.59 2012/09/30 05:08:08 dholland Exp $ */
/* $NetBSD: if_ether.h,v 1.60 2012/10/25 11:53:14 msaitoh Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -198,6 +198,7 @@ int ether_ioctl(struct ifnet *, u_long, void *);
int ether_addmulti(const struct sockaddr *, struct ethercom *);
int ether_delmulti(const struct sockaddr *, struct ethercom *);
int ether_multiaddr(const struct sockaddr *, uint8_t[], uint8_t[]);
void ether_input(struct ifnet *, struct mbuf *);
#endif /* _KERNEL */
/*