c5598d4721
* 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.
11 lines
291 B
C
11 lines
291 B
C
#include <inet/arpa/inet.h>
|
|
|
|
extern in_addr_t __inet_aton (__const char *__cp, struct in_addr *__inp);
|
|
libc_hidden_proto (__inet_aton)
|
|
|
|
libc_hidden_proto (inet_aton)
|
|
libc_hidden_proto (inet_ntop)
|
|
libc_hidden_proto (inet_pton)
|
|
libc_hidden_proto (inet_makeaddr)
|
|
libc_hidden_proto (inet_netof)
|