Merge r196510 from head to stable/8:

Make if_grow static -- it's not used outside of if.c, and with the
  internals destined to change, it's better if it remains that way.

Approved by:	re (kib)
This commit is contained in:
Robert Watson 2009-08-28 21:07:43 +00:00
parent f2b31d1909
commit b569420afa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=196629
2 changed files with 2 additions and 2 deletions

View File

@ -124,6 +124,7 @@ static void if_attachdomain1(struct ifnet *);
static int ifconf(u_long, caddr_t);
static void if_freemulti(struct ifmultiaddr *);
static void if_init(void *);
static void if_grow(void);
static void if_check(void *);
static void if_route(struct ifnet *, int flag, int fam);
static int if_setflag(struct ifnet *, int, int, int *, int);
@ -297,7 +298,7 @@ VNET_SYSUNINIT(vnet_if_uninit, SI_SUB_INIT_IF, SI_ORDER_FIRST,
vnet_if_uninit, NULL);
#endif
void
static void
if_grow(void)
{
u_int n;

View File

@ -826,7 +826,6 @@ int if_allmulti(struct ifnet *, int);
struct ifnet* if_alloc(u_char);
void if_attach(struct ifnet *);
void if_dead(struct ifnet *);
void if_grow(void);
int if_delmulti(struct ifnet *, struct sockaddr *);
void if_delmulti_ifma(struct ifmultiaddr *);
void if_detach(struct ifnet *);