This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove entries from sysdeps/unix/sysv/syscalls.list duplicating onesin sysdeps/unix/


sysdeps/unix/sysv/ is only used with the Linux kernel.  The only thing
left there other than the linux/ subdirectory is syscalls.list.  In
that syscalls.list, the entries for setrlimit and settimeofday
duplicate entries in sysdeps/unix/syscalls.list and so serve no
purpose.  I propose this patch to remove those duplicate syscall
entries.  Tested x86_64, including verifying that the built shared
libraries were identical before and after the patch.

2012-05-05  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
	(settimeofday): Likewise.

diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
index c508dd0..fded7ad 100644
--- a/sysdeps/unix/sysv/syscalls.list
+++ b/sysdeps/unix/sysv/syscalls.list
@@ -2,8 +2,6 @@
 
 alarm		-	alarm		i:i	alarm
 pause		-	pause		Ci:	pause
-setrlimit	-	setrlimit	i:ip	__setrlimit	setrlimit
-settimeofday	-	settimeofday	i:PP	__settimeofday	settimeofday
 stime		-	stime		i:p	stime
 ulimit		-	ulimit		i:ii	ulimit
 utime		-	utime		i:sP	utime

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]