X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6b7218e1ae606329bf2e45b08e2e46cb9f0fc998..bfc6b93af:/sbr/print_sw.c?ds=sidebyside diff --git a/sbr/print_sw.c b/sbr/print_sw.c index bd7b5aa2..cc16626b 100644 --- a/sbr/print_sw.c +++ b/sbr/print_sw.c @@ -2,8 +2,6 @@ /* * print_sw.c -- print switches * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -13,11 +11,11 @@ void -print_sw (char *substr, struct swit *swp, char *prefix, FILE *fp) +print_sw (const char *substr, const struct swit *swp, char *prefix, FILE *fp) { int len, optno; - register int i; - register char *cp, *cp1, *sp; + int i; + char *cp, *cp1, *sp; char buf[128]; len = strlen(substr);