summaryrefslogtreecommitdiff
path: root/include/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/ether.h1
-rw-r--r--include/netinet/in.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/netinet/ether.h b/include/netinet/ether.h
index 0f7029f95..3d8902f50 100644
--- a/include/netinet/ether.h
+++ b/include/netinet/ether.h
@@ -33,6 +33,7 @@ __BEGIN_DECLS
extern char *ether_ntoa (__const struct ether_addr *__addr) __THROW;
extern char *ether_ntoa_r (__const struct ether_addr *__addr, char *__buf)
__THROW;
+libc_hidden_proto(ether_ntoa_r)
/* Convert ASCII string S to 48 bit Ethernet address. */
extern struct ether_addr *ether_aton (__const char *__asc) __THROW;
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 6bfc5e780..942373fcd 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -206,6 +206,7 @@ struct in6_addr
extern const struct in6_addr in6addr_any; /* :: */
extern const struct in6_addr in6addr_loopback; /* ::1 */
+libc_hidden_proto(in6addr_loopback)
#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
@@ -429,6 +430,7 @@ extern uint16_t htons (uint16_t __hostshort)
/* Bind socket to a privileged IP port. */
extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW;
+libc_hidden_proto(bindresvport)
/* The IPv6 version of this function. */
extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)