aboutsummaryrefslogtreecommitdiff
path: root/libio/ftello.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/ftello.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/ftello.c')
-rw-r--r--libio/ftello.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libio/ftello.c b/libio/ftello.c
index ed4ef8b603..2f0e7a34ac 100644
--- a/libio/ftello.c
+++ b/libio/ftello.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>
@@ -34,7 +35,7 @@ ftello (fp)
{
_IO_off_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))