about summary refs log tree commit diff
path: root/sysdeps/unix/bsd/telldir.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-19 20:23:58 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-19 20:23:58 +0000
commit6229c88e862c624e41129cf550cbc6d98085d23c (patch)
tree945092f409bfba07545ab90a2d8432c8e438b8b5 /sysdeps/unix/bsd/telldir.c
parent7195db12adc439aa7e4b1f494b144031dd50e30a (diff)
downloadglibc-6229c88e862c624e41129cf550cbc6d98085d23c.tar.gz
glibc-6229c88e862c624e41129cf550cbc6d98085d23c.tar.xz
glibc-6229c88e862c624e41129cf550cbc6d98085d23c.zip
Update.
	* sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
	parameter.

	* sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
	after we have the lock.
Diffstat (limited to 'sysdeps/unix/bsd/telldir.c')
-rw-r--r--sysdeps/unix/bsd/telldir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/bsd/telldir.c b/sysdeps/unix/bsd/telldir.c
index 4ce508c718..0249344063 100644
--- a/sysdeps/unix/bsd/telldir.c
+++ b/sysdeps/unix/bsd/telldir.c
@@ -44,7 +44,7 @@ telldir (dirp)
      DIR *dirp;
 {
   struct record *new;
-  off_t pos;
+  long int pos;
 
   new = malloc (sizeof *new);
   if (new == NULL)
@@ -71,7 +71,7 @@ telldir (dirp)
 void
 seekdir (dirp, pos)
      DIR *dirp;
-     __off_t pos;
+     long int pos;
 {
   struct record *r, **prevr;