mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
Remove __libc_nanosleep function name.
Continuing the removal of unused __libc_* function names, this patch removes the __libc_nanosleep name. Tested for x86_64 (testsuite, and that the disassembly of installed shared libraries is unchanged by the patch; __nanosleep changes from weak to strong, which is of no significance). * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep. (__nanosleep): Do not define as alias. (nanosleep): Define as alias of __nanosleep. * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove __libc_nanosleep name.
This commit is contained in:
parent
2626c18374
commit
1679ba8eb6
@ -1,3 +1,11 @@
|
||||
2014-11-01 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
|
||||
(__nanosleep): Do not define as alias.
|
||||
(nanosleep): Define as alias of __nanosleep.
|
||||
* sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
|
||||
__libc_nanosleep name.
|
||||
|
||||
2014-10-31 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
/* Pause execution for a number of nanoseconds. */
|
||||
int
|
||||
__libc_nanosleep (const struct timespec *requested_time,
|
||||
__nanosleep (const struct timespec *requested_time,
|
||||
struct timespec *remaining)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
@ -29,6 +29,5 @@ __libc_nanosleep (const struct timespec *requested_time,
|
||||
}
|
||||
stub_warning (nanosleep)
|
||||
|
||||
weak_alias (__libc_nanosleep, __nanosleep)
|
||||
libc_hidden_def (__nanosleep)
|
||||
weak_alias (__libc_nanosleep, nanosleep)
|
||||
weak_alias (__nanosleep, nanosleep)
|
||||
|
@ -43,7 +43,7 @@ mount EXTRA mount i:sssip __mount mount
|
||||
mremap EXTRA mremap b:ainip __mremap mremap
|
||||
munlock - munlock i:ai munlock
|
||||
munlockall - munlockall i: munlockall
|
||||
nanosleep - nanosleep Ci:pp __libc_nanosleep __nanosleep nanosleep
|
||||
nanosleep - nanosleep Ci:pp __nanosleep nanosleep
|
||||
nfsservctl EXTRA nfsservctl i:ipp nfsservctl
|
||||
pause - pause Ci: __libc_pause pause
|
||||
personality EXTRA personality i:i __personality personality
|
||||
|
Loading…
Reference in New Issue
Block a user