From b83012a9f9f1551d9d223c3126d0f43aba79db62 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Jun 2017 07:31:51 +0200 Subject: Remove unused inet_* weak references This change requires a Newlib from 2017-06-12 or later. --- freebsd/lib/libc/inet/inet_ntoa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'freebsd/lib/libc/inet/inet_ntoa.c') 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 . @@ -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 */ -- cgit v1.2.3