summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-23 15:39:54 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-23 15:39:54 +0000
commitee897edd394fbd5ad60e91c0c16f4b466607c6a5 (patch)
tree08694df8377a836639fdf9f986f85f83c261dd64 /include
parent59508d5acf689b72ed459bbc61c0eb2ebbee74d5 (diff)
add freeifaddrs(3), which reclaims region allocated by getifaddrs(3).
in sync with kame and bsdi.
Diffstat (limited to 'include')
-rw-r--r--include/ifaddrs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 51ca028e484..c0872e469e3 100644
--- a/include/ifaddrs.h
+++ b/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