From 147041d26029fabdb35b596a1d3bcbb40c3de975 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 25 Feb 2009 11:06:29 +0000 Subject: Reinstate __libc_foo's needed for linuxthreads.old. Now they are only enabled if linuxthreads.old are selected. --- libc/sysdeps/linux/common/fsync.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps/linux/common/fsync.c') diff --git a/libc/sysdeps/linux/common/fsync.c b/libc/sysdeps/linux/common/fsync.c index 838cb7d21..774efc9ce 100644 --- a/libc/sysdeps/linux/common/fsync.c +++ b/libc/sysdeps/linux/common/fsync.c @@ -10,4 +10,9 @@ #include #include +#ifdef __LINUXTHREADS_OLD__ +extern __typeof(fsync) weak_function fsync; +strong_alias(fsync,__libc_fsync) +#endif + _syscall1(int, fsync, int, fd) -- cgit v1.2.3