X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..dd6bfc058da415e30995eeea116c65861671e2aa:/sbr/ambigsw.c diff --git a/sbr/ambigsw.c b/sbr/ambigsw.c index c11b9e75..cbd19230 100644 --- a/sbr/ambigsw.c +++ b/sbr/ambigsw.c @@ -1,18 +1,19 @@ - -/* - * 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 * complete copyright information. */ -#include +#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); }