about summary refs log tree commit diff
path: root/sysdeps
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
parentad1b5f19680f923691a5674c132c4c36e9b162f5 (diff)
downloadglibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar.gz
glibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar.xz
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')
-rw-r--r--sysdeps/generic/seekdir.c4
-rw-r--r--sysdeps/mach/hurd/seekdir.c4
-rw-r--r--sysdeps/unix/seekdir.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/generic/seekdir.c b/sysdeps/generic/seekdir.c
index c12d3af3c0..17137097a0 100644
--- a/sysdeps/generic/seekdir.c
+++ b/sysdeps/generic/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
@@ -25,7 +25,7 @@
 void
 seekdir (dirp, pos)
      DIR *dirp;
-     off_t pos;
+     long int pos;
 {
   if (dirp == NULL)
     {
diff --git a/sysdeps/mach/hurd/seekdir.c b/sysdeps/mach/hurd/seekdir.c
index 047b4cd11b..9d7147c159 100644
--- a/sysdeps/mach/hurd/seekdir.c
+++ b/sysdeps/mach/hurd/seekdir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 94, 95, 96, 97, 99 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);
   /* Change our entry index pointer to POS and discard any data already
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);