diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-02-03 21:54:03 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-02-03 21:54:03 +0000 |
| commit | 6231933da9c0242ea7619dd0cd5bc1624fd613b0 (patch) | |
| tree | a1dd5dff4cc3ac5b27dcae002b49c6880c441c72 | |
| parent | ee6075a391ccc0122d13b5fef88dcc0afe4caca9 (diff) | |
Notes
| -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 71c6a46cce2a..eeba2956aadb 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; |
