aboutsummaryrefslogtreecommitdiff
path: root/posix/sched_yield.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-23 22:34:40 +0000
committerRoland McGrath <roland@gnu.org>2006-02-23 22:34:40 +0000
commit10814720ad7553b3096e1e8bd4f5ce3e0b565c6c (patch)
treed5d3136dd2e055dd22f18db9f2789aaa9b3a27df /posix/sched_yield.c
parent3e64e913f2139c0c992db24396f1fee84c900ce3 (diff)
downloadglibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.zip
glibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.tar.gz
glibc-10814720ad7553b3096e1e8bd4f5ce3e0b565c6c.tar.bz2
* 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 'posix/sched_yield.c')
-rw-r--r--posix/sched_yield.c3
1 files changed, 2 insertions, 1 deletions
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 <stub-tag.h>