summaryrefslogtreecommitdiff
path: root/lib/libc/net/freeaddrinfo.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 07:38:39 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-14 07:38:39 +0000
commit138367feef79d9b1ec5c7548611925063133a694 (patch)
treee66a84e521a4d4c1413f5d13ee5dd19b4b9c4e33 /lib/libc/net/freeaddrinfo.c
parenta73b902f6911c747f2dcdb2be2a337c6dcb7faad (diff)
Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak
Diffstat (limited to 'lib/libc/net/freeaddrinfo.c')
-rw-r--r--lib/libc/net/freeaddrinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/freeaddrinfo.c b/lib/libc/net/freeaddrinfo.c
index 58702d0b187..5efb97db921 100644
--- a/lib/libc/net/freeaddrinfo.c
+++ b/lib/libc/net/freeaddrinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freeaddrinfo.c,v 1.6 2005/03/25 13:24:11 otto Exp $ */
+/* $OpenBSD: freeaddrinfo.c,v 1.7 2015/09/14 07:38:38 guenther Exp $ */
/*
* Copyright (c) 1996, 1997, 1998, 1999, Craig Metz, All rights reserved.
@@ -48,3 +48,4 @@ freeaddrinfo(struct addrinfo *ai)
free((void *)p);
} while (ai);
}
+DEF_WEAK(freeaddrinfo);