From 16b4e5aa5c17ca39c5a1be22c5ac4b612c323ccb Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 21 Nov 1999 04:28:48 +0000 Subject: 1999-11-20 Roland McGrath * 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. --- isofs/rr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'isofs/rr.c') diff --git a/isofs/rr.c b/isofs/rr.c index cdb7a792..20fea897 100644 --- a/isofs/rr.c +++ b/isofs/rr.c @@ -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); -- cgit v1.2.3