summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-19 11:01:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-19 16:56:47 -0700
commit2cddd8041cf5b6369d2216d0ffbdfa2821869215 (patch)
treef0ec51770741fe61aa91b0802cd2db466625aed3
parent6f4cd1fc5bbfc64f3998d245b163d8300fae746b (diff)
constify a couple more function arguments
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--lndir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lndir.c b/lndir.c
index 6a8d950..b61a605 100644
--- a/lndir.c
+++ b/lndir.c
@@ -105,7 +105,7 @@ msg (const char * fmt, ...)
}
static void
-mperror (char *s)
+mperror (const char *s)
{
if (curdir) {
fprintf (stderr, "%s:\n", curdir);
@@ -116,7 +116,7 @@ mperror (char *s)
static int
-equivalent(char *lname, char *rname, char **p)
+equivalent(char *lname, const char *rname, char **p)
{
char *s;