diff options
author | Roland McGrath <roland@gnu.org> | 2006-02-23 22:34:40 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-02-23 22:34:40 +0000 |
commit | 10814720ad7553b3096e1e8bd4f5ce3e0b565c6c (patch) | |
tree | d5d3136dd2e055dd22f18db9f2789aaa9b3a27df /sysdeps | |
parent | 3e64e913f2139c0c992db24396f1fee84c900ce3 (diff) | |
download | glibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.tar glibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.tar.gz glibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.tar.bz2 glibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.zip |
* sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation
in misc/, not posix/.
Reported by David S. Miller <davem@davemloft.net>.
2006-02-23 Jakub Jelinek <jakub@redhat.com>
* posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
* sysdeps/mach/sched_yield.c (__sched_yield): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/sched_yield.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ftruncate64.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/sched_yield.c b/sysdeps/mach/sched_yield.c index 448ca2ce8b..0c35ef0983 100644 --- a/sysdeps/mach/sched_yield.c +++ b/sysdeps/mach/sched_yield.c @@ -1,5 +1,5 @@ /* sched_yield -- yield the processor. Mach version. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,4 +28,5 @@ __sched_yield (void) (void) __swtch (); return 0; } +libc_hidden_def (__sched_yield) weak_alias (__sched_yield, sched_yield) diff --git a/sysdeps/unix/sysv/linux/ftruncate64.c b/sysdeps/unix/sysv/linux/ftruncate64.c index 2aa4ad54be..60e7ae0ac7 100644 --- a/sysdeps/unix/sysv/linux/ftruncate64.c +++ b/sysdeps/unix/sysv/linux/ftruncate64.c @@ -73,5 +73,5 @@ weak_alias (__ftruncate64, ftruncate64) #else /* Use the generic implementation. */ -# include <posix/ftruncate64.c> +# include <misc/ftruncate64.c> #endif |