diff options
author | Roland McGrath <roland@gnu.org> | 1999-11-21 04:28:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-11-21 04:28:48 +0000 |
commit | 16b4e5aa5c17ca39c5a1be22c5ac4b612c323ccb (patch) | |
tree | f695a73fed447c951372e7c22dc9032dadc9a555 /isofs/rr.c | |
parent | d4139b9468005e145ba4c9fffa90b212de05e7d5 (diff) | |
download | hurd-16b4e5aa5c17ca39c5a1be22c5ac4b612c323ccb.tar.gz hurd-16b4e5aa5c17ca39c5a1be22c5ac4b612c323ccb.tar.bz2 hurd-16b4e5aa5c17ca39c5a1be22c5ac4b612c323ccb.zip |
1999-11-20 Roland McGrath <roland@baalperazim.frob.com>
* lookup.c (dirscanblock): Add const to type of NAME parameter.
(isonamematch): Likewise.
* rr.c (rrip_match_lookup): Likewise.
(rrip_work): Likewise. Change char -> size_t for MATCH_NAMELEN.
* rr.h: Update decls.
Diffstat (limited to 'isofs/rr.c')
-rw-r--r-- | isofs/rr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ release_rrip (struct rrip_lookup *rr) /* Work function combining the three interfaces below. */ static int rrip_work (struct dirrect *dr, struct rrip_lookup *rr, - char *match_name, char match_name_len, + const char *match_name, size_t match_name_len, int initializing, int ignorenm) { void *bp, *terminus; @@ -616,7 +616,7 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr, case, fill RR with information corresponding to the fields we do encounter. */ int -rrip_match_lookup (struct dirrect *dr, char *name, size_t namelen, +rrip_match_lookup (struct dirrect *dr, const char *name, size_t namelen, struct rrip_lookup *rr) { return rrip_work (dr, rr, name, namelen, 0, 0); |