mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Fix previous change to preserve const'ness.
This commit is contained in:
parent
ee6075a391
commit
6231933da9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6166
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user