(argmatch): Add const attribute to parameters.

(invalid_arg): Add const attribute to parameters.
This commit is contained in:
Jim Meyering 1995-12-22 05:17:31 +00:00
parent 137cf55755
commit 8cff7ef2b9

View File

@ -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);