From d148e30e7fd37945d9908c6b4af89006f887062f Mon Sep 17 00:00:00 2001 From: itojun <> Date: Wed, 23 Feb 2000 15:39:53 +0000 Subject: [PATCH] add freeifaddrs(3), which reclaims region allocated by getifaddrs(3). in sync with kame and bsdi. --- src/include/ifaddrs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/ifaddrs.h b/src/include/ifaddrs.h index 51ca028e..c0872e46 100644 --- a/src/include/ifaddrs.h +++ b/src/include/ifaddrs.h @@ -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