diff options
author | jdp <jdp@FreeBSD.org> | 1998-09-02 00:53:17 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1998-09-02 00:53:17 +0000 |
commit | bf8ea8d3a710dfc5162591b386fb01dc0158ed55 (patch) | |
tree | 4d411d41ad33572e5e52a6db2adf230567f8a2a3 /lib/libc/net/Makefile.inc | |
parent | 7accff6b6d70c80baecfc41ec16a3baa034526d3 (diff) | |
download | FreeBSD-src-bf8ea8d3a710dfc5162591b386fb01dc0158ed55.zip FreeBSD-src-bf8ea8d3a710dfc5162591b386fb01dc0158ed55.tar.gz |
Implement the weak aliases for private entry points in the inet_*
and res_* modules in a way that works for ELF. I moved the aliases
out of res_stubs.c and into the individual modules where the entry
points are defined. Weak aliases don't work in ELF unless that is
the case. (Actually, I'm surprised it worked for a.out.)
This should fix the undefined "inet_addr" and related symbols in
various applications that fail to include <arpa/inet.h> or
<resolv.h> as they are supposed to do.
Diffstat (limited to 'lib/libc/net/Makefile.inc')
-rw-r--r-- | lib/libc/net/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc index 18dca25..f21c58e 100644 --- a/lib/libc/net/Makefile.inc +++ b/lib/libc/net/Makefile.inc @@ -1,5 +1,5 @@ # from @(#)Makefile.inc 8.2 (Berkeley) 9/5/93 -# $Id: Makefile.inc,v 1.26 1998/02/20 08:15:55 jb Exp $ +# $Id: Makefile.inc,v 1.27 1998/06/11 09:02:30 peter Exp $ # machine-independent net sources .PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/net ${.CURDIR}/../libc/net @@ -15,7 +15,7 @@ SRCS+= addr2ascii.c ascii2addr.c base64.c ether_addr.c \ ns_ntoa.c ns_parse.c ns_print.c ns_ttl.c nsap_addr.c \ rcmd.c recv.c res_comp.c res_data.c res_debug.c \ res_init.c res_mkquery.c res_mkupdate.c res_query.c res_send.c \ - res_stubs.c res_update.c send.c + res_update.c send.c # not supported: iso_addr.c # machine-dependent net sources |