From 9db59c71ad8bc1f1852838d147a29467a1cd6e3d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 22 Jun 2017 06:56:52 +0200 Subject: Remove unused inet_* weak references This change requires a Newlib from 2017-06-12 or later. --- freebsd/lib/libc/inet/nsap_addr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freebsd/lib/libc/inet/nsap_addr.c b/freebsd/lib/libc/inet/nsap_addr.c index e1fa05be..27449b42 100644 --- a/freebsd/lib/libc/inet/nsap_addr.c +++ b/freebsd/lib/libc/inet/nsap_addr.c @@ -111,6 +111,7 @@ inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { return (start); } +#ifndef __rtems__ /* * Weak aliases for applications that use certain private entry points, * and fail to include . @@ -119,5 +120,6 @@ inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { __weak_reference(__inet_nsap_addr, inet_nsap_addr); #undef inet_nsap_ntoa __weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa); +#endif /* __rtems__ */ /*! \file */ -- cgit v1.2.3