Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Declare if_free().



details:   https://anonhg.NetBSD.org/src/rev/90f6ca61ca40
branches:  trunk
changeset: 768248:90f6ca61ca40
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Fri Aug 12 22:09:17 2011 +0000

description:
Declare if_free().

diffstat:

 sys/net/if.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ebf860332023 -r 90f6ca61ca40 sys/net/if.h
--- a/sys/net/if.h      Fri Aug 12 22:04:33 2011 +0000
+++ b/sys/net/if.h      Fri Aug 12 22:09:17 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.150 2011/02/01 01:39:20 matt Exp $    */
+/*     $NetBSD: if.h,v 1.151 2011/08/12 22:09:17 dyoung Exp $  */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -823,6 +823,7 @@
 int ifreq_setaddr(u_long, struct ifreq *, const struct sockaddr *);
 
 struct ifnet *if_alloc(u_char);
+void if_free(struct ifnet *);
 void if_initname(struct ifnet *, const char *, int);
 struct ifaddr *if_dl_create(const struct ifnet *, const struct sockaddr_dl **);
 void if_activate_sadl(struct ifnet *, struct ifaddr *,



Home | Main Index | Thread Index | Old Index