X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c703902741e0f7ce55f87e48ef0d00901195f1bc..ac1e36dc09f4092f4e9fa9ed66003bb585f790ed:/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;