From: Roland McGrath Date: Thu, 23 Feb 2006 22:34:40 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation X-Git-Tag: upstream/2.30~15760 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10814720ad7553b3096e1e8bd4f5ce3e0b565c6c;p=external%2Fglibc.git * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation in misc/, not posix/. Reported by David S. Miller . 2006-02-23 Jakub Jelinek * posix/sched_yield.c (__sched_yield): Add libc_hidden_def. * sysdeps/mach/sched_yield.c (__sched_yield): Likewise. --- diff --git a/ChangeLog b/ChangeLog index 5570043..b54a2d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2006-02-23 Roland McGrath + + * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation + in misc/, not posix/. + Reported by David S. Miller . + +2006-02-23 Jakub Jelinek + + * posix/sched_yield.c (__sched_yield): Add libc_hidden_def. + * sysdeps/mach/sched_yield.c (__sched_yield): Likewise. + 2006-02-22 Roland McGrath * po/libc.pot: Regenerated. diff --git a/posix/sched_yield.c b/posix/sched_yield.c index ce41ce9..e7a41ea 100644 --- a/posix/sched_yield.c +++ b/posix/sched_yield.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 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,6 +28,7 @@ __sched_yield (void) return -1; } stub_warning (sched_yield) +libc_hidden_def (__sched_yield) weak_alias (__sched_yield, sched_yield) #include diff --git a/sysdeps/mach/sched_yield.c b/sysdeps/mach/sched_yield.c index 448ca2c..0c35ef0 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 2aa4ad5..60e7ae0 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 +# include #endif