From 86c100439c5f33f5def3edf2ee05ea591b1774a4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 12 Jun 2017 13:56:40 +0200 Subject: network: Remove FreeBSD specific hack For whatever reason FreeBSD renames several functions provided by and uses weak references to provide the standard function names. This causes problems on targets lacking proper support for weak references. We do not need this function renaming on RTEMS.lk:x Update #2833. --- cpukit/libnetworking/libc/inet_ntop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/libnetworking/libc/inet_ntop.c') diff --git a/cpukit/libnetworking/libc/inet_ntop.c b/cpukit/libnetworking/libc/inet_ntop.c index b54eec714e..4ea2ee348c 100644 --- a/cpukit/libnetworking/libc/inet_ntop.c +++ b/cpukit/libnetworking/libc/inet_ntop.c @@ -194,11 +194,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 . */ #undef inet_ntop __weak_reference(__inet_ntop, inet_ntop); +#endif /* __rtems__ */ /*! \file */ -- cgit v1.2.3