X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/de4636bb664106d9932ae7acb517e471b848f1f3..18fceae399301f4a69ca3c92f85a1657d46dfd25:/sbr/smatch.c diff --git a/sbr/smatch.c b/sbr/smatch.c index 4d1d3d68..f30e5899 100644 --- a/sbr/smatch.c +++ b/sbr/smatch.c @@ -1,6 +1,4 @@ - -/* - * smatch.c -- match a switch (option) +/* smatch.c -- match a switch (option) * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -11,11 +9,11 @@ int -smatch(char *string, struct swit *swp) +smatch(const char *string, const struct swit *swp) { - char *sp, *tcp; + const char *sp, *tcp; int firstone, len; - struct swit *tp; + const struct swit *tp; firstone = UNKWNSW;