From c5598d4721655c8654e3f419d12b671e2a92c0ce Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 3 Aug 2002 12:09:37 +0000 Subject: * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. * sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or libc_hidden_weak for every system call symbol defined. * include/time.h: Use libc_hidden_proto for time, asctime, mktime, timelocal, localtime, strftime. * time/asctime.c: Add libc_hidden_def. * time/mktime.c: Likewise. * time/localtime.c: Likewise. * time/strftime.c: Likewise. * time/strptime.c: Likewise. * sysdeps/generic/time.c: Likewise. * sysdeps/unix/time.c: Likewise. * sysdeps/unix/sysv/i386/time.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. * include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton. inet_makeaddr, inet_netof, inet_addr, __inet_addr. * resolv/inet_ntop.c: Likewise. * resolv/inet_pton.c: Likewise. * inet/inet_mkadr.c: Add libc_hidden_def. * inet/inet_netof.c: Likewise. * resolv/inet_addr.c: Likewise. * include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE' clauses from conditionals for now. Will have to be fixed later for older compilers. --- inet/inet_mkadr.c | 1 + inet/inet_netof.c | 1 + 2 files changed, 2 insertions(+) (limited to 'inet') diff --git a/inet/inet_mkadr.c b/inet/inet_mkadr.c index f076cf5..10f7318 100644 --- a/inet/inet_mkadr.c +++ b/inet/inet_mkadr.c @@ -56,3 +56,4 @@ inet_makeaddr(net, host) addr = htonl(addr); return (*(struct in_addr *)&addr); } +libc_hidden_def (inet_makeaddr) diff --git a/inet/inet_netof.c b/inet/inet_netof.c index ab06a54..aa99e5c 100644 --- a/inet/inet_netof.c +++ b/inet/inet_netof.c @@ -52,3 +52,4 @@ inet_netof(in) else return (((i)&IN_CLASSC_NET) >> IN_CLASSC_NSHIFT); } +libc_hidden_def (inet_netof) -- cgit v1.1