* 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.
This commit is contained in:
Roland McGrath 2006-02-23 22:34:40 +00:00
parent 3e64e913f2
commit 10814720ad
4 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,14 @@
2006-02-23 Roland McGrath <roland@redhat.com>
* 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.
2006-02-22 Roland McGrath <roland@redhat.com> 2006-02-22 Roland McGrath <roland@redhat.com>
* po/libc.pot: Regenerated. * po/libc.pot: Regenerated.

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -28,6 +28,7 @@ __sched_yield (void)
return -1; return -1;
} }
stub_warning (sched_yield) stub_warning (sched_yield)
libc_hidden_def (__sched_yield)
weak_alias (__sched_yield, sched_yield) weak_alias (__sched_yield, sched_yield)
#include <stub-tag.h> #include <stub-tag.h>

View File

@ -1,5 +1,5 @@
/* sched_yield -- yield the processor. Mach version. /* 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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -28,4 +28,5 @@ __sched_yield (void)
(void) __swtch (); (void) __swtch ();
return 0; return 0;
} }
libc_hidden_def (__sched_yield)
weak_alias (__sched_yield, sched_yield) weak_alias (__sched_yield, sched_yield)

View File

@ -73,5 +73,5 @@ weak_alias (__ftruncate64, ftruncate64)
#else #else
/* Use the generic implementation. */ /* Use the generic implementation. */
# include <posix/ftruncate64.c> # include <misc/ftruncate64.c>
#endif #endif