summaryrefslogtreecommitdiff
path: root/include/bsd
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-12-11 23:06:27 +0100
committerGuillem Jover <guillem@hadrons.org>2009-12-12 01:11:08 +0100
commit4d17a18db559a3e3485d049cddf808090f38e8be (patch)
tree0617d7b36a54ab84a494196912c7eecdbc2b3949 /include/bsd
parent7da57b293f96d0c52e5b76b539e934db49323ee2 (diff)
downloadlibbsd-4d17a18db559a3e3485d049cddf808090f38e8be.tar.gz
Deprecate <bsd/inet.h>
The only function declared in that header file was inet_net_pton, which is already provided by glibc. Will be removed on the next SONAME bump.
Diffstat (limited to 'include/bsd')
-rw-r--r--include/bsd/inet.h7
1 files changed, 2 insertions, 5 deletions
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