summaryrefslogtreecommitdiff
path: root/lib/argmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/argmatch.c')
-rw-r--r--lib/argmatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c
index d632890a4..5777b27ac 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -37,8 +37,8 @@ extern char *program_name;
int
argmatch (arg, optlist)
- char *arg;
- char **optlist;
+ const char *arg;
+ const char *const *optlist;
{
int i; /* Temporary index in OPTLIST. */
size_t arglen; /* Length of ARG. */
@@ -76,8 +76,8 @@ argmatch (arg, optlist)
void
invalid_arg (kind, value, problem)
- char *kind;
- char *value;
+ const char *kind;
+ const char *value;
int problem;
{
fprintf (stderr, "%s: ", program_name);