diff options
| author | John Polstra <jdp@FreeBSD.org> | 1998-09-02 00:53:17 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1998-09-02 00:53:17 +0000 |
| commit | cb690d1f0b2725c6a9edfc5f5f3890a610f2927c (patch) | |
| tree | 9acf25abfb92f96cd897d8d012e281017e5f87d9 /lib/libc/net/inet_netof.c | |
| parent | 5ca6331a4cf210f1043195bfe59d19254252e86f (diff) | |
Notes
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); |
