diff options
Diffstat (limited to 'lib/libc/net/inet_netof.c')
| -rw-r--r-- | lib/libc/net/inet_netof.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/net/inet_netof.c b/lib/libc/net/inet_netof.c index d6de694243d1..37063f713822 100644 --- a/lib/libc/net/inet_netof.c +++ b/lib/libc/net/inet_netof.c @@ -56,3 +56,10 @@ inet_netof(in) else return (((i)&IN_CLASSC_NET) >> IN_CLASSC_NSHIFT); } + +/* + * 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); |
