diff options
author | Jim Meyering <jim@meyering.net> | 1995-12-22 05:17:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-12-22 05:17:31 +0000 |
commit | 8cff7ef2b9ff9ee57fedbb21af1a7fe92afa9dbb (patch) | |
tree | 0960f70f9bd463b8b7cf91b231df46181d02483e | |
parent | 137cf557559ef57323c3e58bdeec70291a4dadda (diff) | |
download | coreutils-8cff7ef2b9ff9ee57fedbb21af1a7fe92afa9dbb.tar.xz |
(argmatch): Add const attribute to parameters.
(invalid_arg): Add const attribute to parameters.
-rw-r--r-- | lib/argmatch.c | 8 |
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); |