Browse Source

add freeifaddrs(3), which reclaims region allocated by getifaddrs(3).

in sync with kame and bsdi.
OPENBSD_2_7
itojun 25 years ago
parent
commit
d148e30e7f
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/include/ifaddrs.h

+ 3
- 2
src/include/ifaddrs.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: ifaddrs.h,v 1.1 2000/02/23 06:55:59 itojun Exp $ */
/* $OpenBSD: ifaddrs.h,v 1.2 2000/02/23 15:39:53 itojun Exp $ */
/*
* Copyright (c) 1995, 1999
@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* BSDI ifaddrs.h,v 2.4 1999/03/15 20:59:28 jch Exp
* BSDI ifaddrs.h,v 2.5 2000/02/23 14:51:59 dab Exp
*/
#ifndef _IFADDRS_H_
@ -50,6 +50,7 @@ struct ifaddrs {
__BEGIN_DECLS
extern int getifaddrs __P((struct ifaddrs **));
extern void freeifaddrs __P((struct ifaddrs *));
__END_DECLS
#endif

Loading…
Cancel
Save