]> diplodocus.org Git - nmh/blobdiff - sbr/ambigsw.c
new.c: Order two return statements to match comment.
[nmh] / sbr / ambigsw.c
index 48b7328ee8110f671cab31838c3bc20af2da5812..3f874f296448423d451723f6f7548e83f5f56ec7 100644 (file)
@@ -1,16 +1,16 @@
-
-/*
- * ambigsw.c -- report an ambiguous switch
+/* ambigsw.c -- report an ambiguous switch
  *
- * $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.
  */
 
 #include <h/mh.h>
 
 
 void
-ambigsw (char *arg, struct swit *swp)
+ambigsw (const char *arg, const struct swit *swp)
 {
-    advise (NULL, "-%s ambiguous.  It matches", arg);
-    print_sw (arg, swp, "-");
+    inform("-%s ambiguous.  It matches", arg);
+    print_sw (arg, swp, "-", stderr);
 }