summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/inet/inet_netof.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/inet/inet_netof.c')
-rw-r--r--freebsd/lib/libc/inet/inet_netof.c2
1 files changed, 2 insertions, 0 deletions
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 */