summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/roff_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-06-24 14:38:27 +0000
committerschwarze <schwarze@openbsd.org>2017-06-24 14:38:27 +0000
commitf3476b07809a2097ff3cd2d357ae4d12f20c2c1d (patch)
treee69fdfe25b49db90b09b25644b1223b111a28405 /usr.bin/mandoc/roff_html.c
parentDelete .St -p1003.1-2013. (diff)
downloadwireguard-openbsd-f3476b07809a2097ff3cd2d357ae4d12f20c2c1d.tar.xz
wireguard-openbsd-f3476b07809a2097ff3cd2d357ae4d12f20c2c1d.zip
Split -Wstyle into -Wstyle and the even lower -Wbase, and add
-Wopenbsd and -Wnetbsd to check conventions for the base system of a specific operating system. Mark operating system specific messages with "(OpenBSD)" at the end. Please use just "-Tlint" to check base system manuals (defaulting to -Wall, which is now -Wbase), but prefer "-Tlint -Wstyle" for the manuals of portable software projects you maintain that are not part of OpenBSD base, to avoid bogus recommendations about base system conventions that do not apply. Issue originally reported by semarie@, solution using an idea from tedu@, discussed with jmc@ and jca@.
Diffstat (limited to 'usr.bin/mandoc/roff_html.c')
-rw-r--r--usr.bin/mandoc/roff_html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/roff_html.c b/usr.bin/mandoc/roff_html.c
index 9674ba9f6cf..96104428c11 100644
--- a/usr.bin/mandoc/roff_html.c
+++ b/usr.bin/mandoc/roff_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: roff_html.c,v 1.10 2017/06/14 22:50:37 schwarze Exp $ */
+/* $OpenBSD: roff_html.c,v 1.11 2017/06/24 14:38:28 schwarze Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -20,6 +20,7 @@
#include <assert.h>
#include <stddef.h>
+#include "mandoc.h"
#include "roff.h"
#include "out.h"
#include "html.h"