]> diplodocus.org Git - nmh/blobdiff - sbr/print_sw.c
new.c: Order two return statements to match comment.
[nmh] / sbr / print_sw.c
index 6d475aba175eedd361ae4871cdee3d608c7667bc..ad92b8827a3d79a532121b177a3ec60bc4b369a0 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * print_sw.c -- print switches
+/* print_sw.c -- print switches
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
 
 
 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);