]> diplodocus.org Git - nmh/blobdiff - sbr/ambigsw.c
Support iCalendar event request files that don't end with a newline.
[nmh] / sbr / ambigsw.c
index c11b9e752e732d5fdeef899884897ce85cc38e34..3f874f296448423d451723f6f7548e83f5f56ec7 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * ambigsw.c -- report an ambiguous switch
+/* ambigsw.c -- report an ambiguous switch
  *
  * 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,8 +9,8 @@
 
 
 void
-ambigsw (char *arg, struct swit *swp)
+ambigsw (const char *arg, const struct swit *swp)
 {
-    advise (NULL, "-%s ambiguous.  It matches", arg);
+    inform("-%s ambiguous.  It matches", arg);
     print_sw (arg, swp, "-", stderr);
 }