summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/telldir.c4
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;
OpenPOWER on IntegriCloud