]> diplodocus.org Git - nmh/blobdiff - sbr/ambigsw.c
Add basic support for the STLS command in POP
[nmh] / sbr / ambigsw.c
index 42796b34ca576e8eedc01032682b3658fa328482..cbd19230839ba890cfb8f14d9294af5ebb2a83f2 100644 (file)
@@ -1,20 +1,19 @@
-
-/*
- * ambigsw.c -- report an ambiguous switch
- *
- * $Id$
+/* 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
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "ambigsw.h"
+#include "print_sw.h"
+#include "error.h"
 
 
 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);
 }