mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00:00
2c46a66a3a
Continuing the removal of unused __libc_* function names, this patch removes the __libc_waitpid name. Tested for x86_64 (testsuite, and that disassembly of installed shared libraries is unchanged by the patch; __waitpid, which is exported from shared libc, changes from weak to strong on some configurations, which is of no significance). * include/sys/wait.h (__libc_waitpid): Remove declaration. * posix/waitpid.c (__libc_waitpid): Rename to __waitpid. (__waitpid): Don't define as alias. Use libc_hidden_def not libc_hidden_weak. (waitpid): Define as alias of __waitpid. * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to __waitpid. (__waitpid): Don't define as alias. Use libc_hidden_def not libc_hidden_weak. (waitpid): Define as alias of __waitpid. * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove __libc_waitpid alias. * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid): Likewise. * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise. * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise. * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove alias. * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to __waitpid. (__waitpid): Don't define as alias. Use libc_hidden_def not libc_hidden_weak. (waitpid): Define as alias of __waitpid. |
||
---|---|---|
.. | ||
bitypes.h | ||
cdefs.h | ||
dir.h | ||
epoll.h | ||
errno.h | ||
fcntl.h | ||
file.h | ||
gmon_out.h | ||
gmon.h | ||
ioctl.h | ||
ipc.h | ||
mman.h | ||
msg.h | ||
param.h | ||
poll.h | ||
prctl.h | ||
profil.h | ||
queue.h | ||
resource.h | ||
select.h | ||
sem.h | ||
sendfile.h | ||
shm.h | ||
signal.h | ||
socket.h | ||
stat.h | ||
statfs.h | ||
statvfs.h | ||
sysctl.h | ||
sysinfo.h | ||
syslog.h | ||
termios.h | ||
time.h | ||
timeb.h | ||
times.h | ||
types.h | ||
uio.h | ||
un.h | ||
unistd.h | ||
utsname.h | ||
vlimit.h | ||
vtimes.h | ||
wait.h | ||
xattr.h |