diff options
author | bde <bde@FreeBSD.org> | 1995-02-03 21:54:03 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-02-03 21:54:03 +0000 |
commit | 5859d904d15b5f795f49a6574ebb9bc01bfcf913 (patch) | |
tree | a1dd5dff4cc3ac5b27dcae002b49c6880c441c72 /lib/libc/gen/telldir.c | |
parent | aa882fc04ecd271c4279bfbccb27dc410a79005e (diff) | |
download | FreeBSD-src-5859d904d15b5f795f49a6574ebb9bc01bfcf913.zip FreeBSD-src-5859d904d15b5f795f49a6574ebb9bc01bfcf913.tar.gz |
Fix previous change to preserve const'ness.
Diffstat (limited to 'lib/libc/gen/telldir.c')
-rw-r--r-- | lib/libc/gen/telldir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/telldir.c b/lib/libc/gen/telldir.c index 71c6a46..eeba295 100644 --- a/lib/libc/gen/telldir.c +++ b/lib/libc/gen/telldir.c @@ -58,7 +58,7 @@ struct ddloc { long loc_index; /* key associated with structure */ long loc_seek; /* magic cookie returned by getdirentries */ long loc_loc; /* offset of entry in buffer */ - DIR* loc_dirp; /* directory which used this entry */ + const DIR* loc_dirp; /* directory which used this entry */ }; #define NDIRHASH 32 /* Num of hash lists, must be a power of 2 */ @@ -134,7 +134,7 @@ found: */ void _reclaim_telldir(dirp) - register DIR *dirp; + register const DIR *dirp; { register struct ddloc *lp; register struct ddloc **prevlp; |