aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/seekdir.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-18 18:44:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-18 18:44:33 +0000
commit70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c (patch)
tree8f3322b07a111d14b3ff960a5abd5d48422358b1 /sysdeps/unix/seekdir.c
parentad1b5f19680f923691a5674c132c4c36e9b162f5 (diff)
downloadglibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar
glibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar.gz
glibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar.bz2
glibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.zip
Update.
1999-08-18 Ulrich Drepper <drepper@cygnus.com> * ctype/ctype.h: Avoid useless #endif #if pairs. * dirent/dirent.h: Define ino_t and ino64_t if not done already. (seekdir): Fix type of second parameter. * sysdeps/generic/seekdir.c: Likewise. * sysdeps/mach/hurd/seekdir.c: Likewise. * sysdeps/unix/seekdir.c: Likewise. * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU.
Diffstat (limited to 'sysdeps/unix/seekdir.c')
-rw-r--r--sysdeps/unix/seekdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/seekdir.c b/sysdeps/unix/seekdir.c
index caecbefd78..f89819deea 100644
--- a/sysdeps/unix/seekdir.c
+++ b/sysdeps/unix/seekdir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 1999 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
@@ -27,7 +27,7 @@
void
seekdir (dirp, pos)
DIR *dirp;
- __off_t pos;
+ long int pos;
{
__libc_lock_lock (dirp->lock);
(void) __lseek(dirp->fd, pos, SEEK_SET);