diff options
Diffstat (limited to 'freebsd/lib')
-rw-r--r-- | freebsd/lib/libc/inet/inet_addr.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_lnaof.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_makeaddr.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_net_ntop.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_net_pton.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_neta.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_netof.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_network.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_ntoa.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_ntop.c | 2 | ||||
-rw-r--r-- | freebsd/lib/libc/inet/inet_pton.c | 2 |
11 files changed, 22 insertions, 0 deletions
diff --git a/freebsd/lib/libc/inet/inet_addr.c b/freebsd/lib/libc/inet/inet_addr.c index 04361b95..0be7c726 100644 --- a/freebsd/lib/libc/inet/inet_addr.c +++ b/freebsd/lib/libc/inet/inet_addr.c @@ -204,6 +204,7 @@ inet_aton(const char *cp, struct in_addr *addr) { return (1); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. @@ -212,5 +213,6 @@ inet_aton(const char *cp, struct in_addr *addr) { __weak_reference(__inet_addr, inet_addr); #undef inet_aton __weak_reference(__inet_aton, inet_aton); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_lnaof.c b/freebsd/lib/libc/inet/inet_lnaof.c index 683eb1a9..8a071dfc 100644 --- a/freebsd/lib/libc/inet/inet_lnaof.c +++ b/freebsd/lib/libc/inet/inet_lnaof.c @@ -61,11 +61,13 @@ inet_lnaof(struct in_addr in) return ((i)&IN_CLASSC_HOST); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_lnaof __weak_reference(__inet_lnaof, inet_lnaof); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_makeaddr.c b/freebsd/lib/libc/inet/inet_makeaddr.c index 47407516..024c8e27 100644 --- a/freebsd/lib/libc/inet/inet_makeaddr.c +++ b/freebsd/lib/libc/inet/inet_makeaddr.c @@ -64,11 +64,13 @@ inet_makeaddr(in_addr_t net, in_addr_t host) return (a); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_makeaddr __weak_reference(__inet_makeaddr, inet_makeaddr); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_net_ntop.c b/freebsd/lib/libc/inet/inet_net_ntop.c index 31c04aba..48b1fd07 100644 --- a/freebsd/lib/libc/inet/inet_net_ntop.c +++ b/freebsd/lib/libc/inet/inet_net_ntop.c @@ -271,11 +271,13 @@ emsgsize: return (NULL); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_net_ntop __weak_reference(__inet_net_ntop, inet_net_ntop); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_net_pton.c b/freebsd/lib/libc/inet/inet_net_pton.c index 2a8fc345..ba59726f 100644 --- a/freebsd/lib/libc/inet/inet_net_pton.c +++ b/freebsd/lib/libc/inet/inet_net_pton.c @@ -408,11 +408,13 @@ inet_net_pton(int af, const char *src, void *dst, size_t size) { } } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_net_pton __weak_reference(__inet_net_pton, inet_net_pton); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_neta.c b/freebsd/lib/libc/inet/inet_neta.c index 2cab5934..aa02ec59 100644 --- a/freebsd/lib/libc/inet/inet_neta.c +++ b/freebsd/lib/libc/inet/inet_neta.c @@ -87,11 +87,13 @@ inet_neta(in_addr_t src, char *dst, size_t size) return (NULL); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_neta __weak_reference(__inet_neta, inet_neta); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_netof.c b/freebsd/lib/libc/inet/inet_netof.c index 7770c2dd..24d9c91d 100644 --- a/freebsd/lib/libc/inet/inet_netof.c +++ b/freebsd/lib/libc/inet/inet_netof.c @@ -60,11 +60,13 @@ inet_netof(struct in_addr in) return (((i)&IN_CLASSC_NET) >> IN_CLASSC_NSHIFT); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_netof __weak_reference(__inet_netof, inet_netof); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_network.c b/freebsd/lib/libc/inet/inet_network.c index 7bb9371f..d42c1160 100644 --- a/freebsd/lib/libc/inet/inet_network.c +++ b/freebsd/lib/libc/inet/inet_network.c @@ -102,11 +102,13 @@ again: return (val); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_network __weak_reference(__inet_network, inet_network); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_ntoa.c b/freebsd/lib/libc/inet/inet_ntoa.c index 6d3de725..3a009569 100644 --- a/freebsd/lib/libc/inet/inet_ntoa.c +++ b/freebsd/lib/libc/inet/inet_ntoa.c @@ -69,6 +69,7 @@ inet_ntoa_r(struct in_addr in, char *buf, socklen_t size) return (buf); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. @@ -76,5 +77,6 @@ inet_ntoa_r(struct in_addr in, char *buf, socklen_t size) #undef inet_ntoa __weak_reference(__inet_ntoa, inet_ntoa); __weak_reference(__inet_ntoa_r, inet_ntoa_r); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_ntop.c b/freebsd/lib/libc/inet/inet_ntop.c index 0387a14f..be2aabe2 100644 --- a/freebsd/lib/libc/inet/inet_ntop.c +++ b/freebsd/lib/libc/inet/inet_ntop.c @@ -196,11 +196,13 @@ inet_ntop6(const u_char *src, char *dst, socklen_t size) return (dst); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_ntop __weak_reference(__inet_ntop, inet_ntop); +#endif /* __rtems__ */ /*! \file */ diff --git a/freebsd/lib/libc/inet/inet_pton.c b/freebsd/lib/libc/inet/inet_pton.c index 3272a027..18bcd32b 100644 --- a/freebsd/lib/libc/inet/inet_pton.c +++ b/freebsd/lib/libc/inet/inet_pton.c @@ -216,11 +216,13 @@ inet_pton6(const char *src, u_char *dst) return (1); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include <arpa/inet.h>. */ #undef inet_pton __weak_reference(__inet_pton, inet_pton); +#endif /* __rtems__ */ /*! \file */ |