aboutsummaryrefslogtreecommitdiff
path: root/libio/ftello64.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-22 07:19:25 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-22 07:19:25 +0000
commitef52edfc6b25c28406e13f6a0d9cc026b1a0e991 (patch)
tree9227d317d4446bb64e871bbc1d8d617e9ca6fcb5 /libio/ftello64.c
parent3566d33c12be61e6de64b3d957ed3cd7520779f8 (diff)
downloadglibc-ef52edfc6b25c28406e13f6a0d9cc026b1a0e991.tar
glibc-ef52edfc6b25c28406e13f6a0d9cc026b1a0e991.tar.gz
glibc-ef52edfc6b25c28406e13f6a0d9cc026b1a0e991.tar.bz2
glibc-ef52edfc6b25c28406e13f6a0d9cc026b1a0e991.zip
Update.
2000-04-22 Ulrich Drepper <drepper@redhat.com> * assert/assert-perr.c: Include <stdlib.h> for abort prototype. * libio/ftello.c: Likewise. * libio/ftello64.c: Likewise. * libio/ioftell.c: Likewise. * sysdeps/generic/memrchr.c: Likewise. * sysdeps/posix/libc_fatal.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. * misc/fstab.c: Include <string.h> for strcmp prototype. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Patch by Kurt Roeckx <Q@ping.be>. * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. Remove db-open. Change all uses. (libnss_db-routines): Define as $(libnss_db-dbs) db-open. 2000-04-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare. * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare. * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28 with .set noat/at to shut up warnings. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias. * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64): Add alias.
Diffstat (limited to 'libio/ftello64.c')
-rw-r--r--libio/ftello64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libio/ftello64.c b/libio/ftello64.c
index 7cb75626cf..32fb38797e 100644
--- a/libio/ftello64.c
+++ b/libio/ftello64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -24,6 +24,7 @@
General Public License. */
#include <stdio.h>
+#include <stdlib.h>
#include <libioP.h>
#include <errno.h>
@@ -35,7 +36,7 @@ ftello64 (fp)
#ifdef _G_LSEEK64
_IO_off64_t pos;
CHECK_FILE (fp, -1L);
- _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
+ _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, fp);
_IO_flockfile (fp);
pos = _IO_seekoff (fp, 0, _IO_seek_cur, 0);
if (_IO_in_backup (fp))