summaryrefslogtreecommitdiff
path: root/isofs/rr.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-21 04:28:48 +0000
committerRoland McGrath <roland@gnu.org>1999-11-21 04:28:48 +0000
commit16b4e5aa5c17ca39c5a1be22c5ac4b612c323ccb (patch)
treef695a73fed447c951372e7c22dc9032dadc9a555 /isofs/rr.c
parentd4139b9468005e145ba4c9fffa90b212de05e7d5 (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
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);