about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-24 15:29:55 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-24 15:29:55 +0000
commit86d1f89213d4f4d52c410e96325ab3b3d3890e0d (patch)
tree3af01ce880886a9f558fa0e6eda7dd17cc0c084e /sysdeps
parentc5c992f10b9b76526eead910b29c5f0a6a9e9ca7 (diff)
downloadglibc-86d1f89213d4f4d52c410e96325ab3b3d3890e0d.tar.gz
glibc-86d1f89213d4f4d52c410e96325ab3b3d3890e0d.tar.xz
glibc-86d1f89213d4f4d52c410e96325ab3b3d3890e0d.zip
(ftruncate): Make __ftruncate the strong symbol, and add weak alias.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/syscalls.list2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/syscalls.list b/sysdeps/unix/sysv/linux/alpha/syscalls.list
index 71cfbaabc4..ed81a2c0b3 100644
--- a/sysdeps/unix/sysv/linux/alpha/syscalls.list
+++ b/sysdeps/unix/sysv/linux/alpha/syscalls.list
@@ -27,7 +27,7 @@ fstatfs		-	fstatfs		2	__fstatfs	fstatfs fstatfs64
 statfs		-	statfs		2	__statfs	statfs statfs64
 getrlimit	-	getrlimit	2	__getrlimit	getrlimit getrlimit64
 setrlimit	-	setrlimit	2	setrlimit	setrlimit64
-ftruncate	-	ftruncate	2	ftruncate	ftruncate64
+ftruncate	-	ftruncate	2	__ftruncate	ftruncate ftruncate64
 truncate	-	truncate	2	truncate	truncate64
 
 # these are actually common with the x86:
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
index b2b0740375..976b9b8bf4 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
@@ -8,7 +8,7 @@ fstatfs		-	fstatfs		2	__fstatfs	fstatfs fstatfs64
 statfs		-	statfs		2	__statfs	statfs statfs64
 getrlimit	-	getrlimit	2	getrlimit	getrlimit64
 setrlimit	-	setrlimit	2	setrlimit	setrlimit64
-ftruncate	-	ftruncate	2	ftruncate	ftruncate64
+ftruncate	-	ftruncate	2	__ftruncate	ftruncate ftruncate64
 truncate	-	truncate	2	truncate	truncate64
 mmap		-	mmap		6	__mmap		mmap __mmap64 mmap64