about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-11-01 12:26:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-11-01 12:26:09 +0000
commit1679ba8eb6b55a612e15b50139cd2a7ffde61d43 (patch)
tree57649af3302dca71603fab2c0b12805adb04f89d /sysdeps
parent2626c18374b0260a9b4afb7763de19488a87d2ba (diff)
downloadglibc-1679ba8eb6b55a612e15b50139cd2a7ffde61d43.tar.gz
glibc-1679ba8eb6b55a612e15b50139cd2a7ffde61d43.tar.xz
glibc-1679ba8eb6b55a612e15b50139cd2a7ffde61d43.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index a9e5c7b782..42b6c2ef42 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -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