diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-01 19:35:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-01 19:35:00 +0000 |
commit | 628a0aa1523e7160dac986d7988fcc08375cfd88 (patch) | |
tree | a69799810ae1c679709deed767709e944d15c45c /linuxthreads/wrapsyscall.c | |
parent | f9ded616b20aa0e48eaee5e2799d84f71feeb640 (diff) | |
download | glibc-628a0aa1523e7160dac986d7988fcc08375cfd88.tar glibc-628a0aa1523e7160dac986d7988fcc08375cfd88.tar.gz glibc-628a0aa1523e7160dac986d7988fcc08375cfd88.tar.bz2 glibc-628a0aa1523e7160dac986d7988fcc08375cfd88.zip |
Update.
1998-11-29 1998 H.J. Lu <hjl@gnu.org>
* libio/genops.c (_IO_unbuffer_write): Renamed from
_IO_unbuffer_all.
(_IO_cleanup): Call _IO_unbuffer_write instead of
_IO_unbuffer_all.
1998-12-01 Ulrich Drepper <drepper@cygnus.com>
* intl/localealias.c: Use *_unlocked version of stdio function if
_LIBC_REENTRANT is defined, not _LIBC.
1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* include/grp.h: Add prototypes for internal functions
__getgrgid_r and __getgrnam_r.
* inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
* resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
inet_nsap_ntoa prototypes.
* sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
to gcc to have it find the correct system header.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Diffstat (limited to 'linuxthreads/wrapsyscall.c')
-rw-r--r-- | linuxthreads/wrapsyscall.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linuxthreads/wrapsyscall.c b/linuxthreads/wrapsyscall.c index 4659692d56..d55e6cca61 100644 --- a/linuxthreads/wrapsyscall.c +++ b/linuxthreads/wrapsyscall.c @@ -1,5 +1,5 @@ /* Wrapper arpund system calls to provide cancelation points. - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -19,10 +19,13 @@ Boston, MA 02111-1307, USA. */ #include <fcntl.h> +#include <sys/mman.h> #include <pthread.h> #include <unistd.h> #include <stdarg.h> #include <stddef.h> +#include <stdlib.h> +#include <termios.h> #include <sys/resource.h> #include <sys/wait.h> #include <sys/socket.h> @@ -87,8 +90,8 @@ strong_alias (lseek, __lseek) /* msync(2). */ -CANCELABLE_SYSCALL (int, msync, (const void *start, size_t length, int flags), - (start, length, flags)) +CANCELABLE_SYSCALL (int, msync, (__ptr_t addr, size_t length, int flags), + (addr, length, flags)) /* nanosleep(2). */ |