]> diplodocus.org Git - nmh/blobdiff - sbr/print_sw.c
Deference char pointer to test for empty string instead of strlen(3).
[nmh] / sbr / print_sw.c
index bd7b5aa2ac9f2ce2e247b80f02bdb4ee9126d411..d790db69d60604d3876ddd3b05cdf14f7aa5edd7 100644 (file)
@@ -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,7 +11,7 @@
 
 
 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;