diff options
-rw-r--r-- | Versions | 3 | ||||
-rw-r--r-- | include/bsd/inet.h | 7 |
2 files changed, 4 insertions, 6 deletions
@@ -9,7 +9,8 @@ LIBBSD_0.0 { fmtcheck; heapsort; humanize_number; - inet_net_pton; + + inet_net_pton; /* XXX: Already provided by glibc, remove. */ getprogname; setprogname; strlcpy; diff --git a/include/bsd/inet.h b/include/bsd/inet.h index 1f6e597..0e98548 100644 --- a/include/bsd/inet.h +++ b/include/bsd/inet.h @@ -27,12 +27,9 @@ #ifndef LIBBSD_INET_H #define LIBBSD_INET_H -#include <sys/cdefs.h> -#include <stddef.h> +#warning "This header is deprecated, use the one in arpa/inet.h instead." -__BEGIN_DECLS -int inet_net_pton(int af, const char *src, void *dst, siez_t size); -__END_DECLS +#include <arpa/inet.h> #endif |