summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_validate.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-03-21 22:17:01 +0000
committerschwarze <schwarze@openbsd.org>2014-03-21 22:17:01 +0000
commit4f4f79723381956171ed166e137dcb03c9782797 (patch)
tree6fc260b9c8d72d494c27492d5fdd2332aa9694c0 /usr.bin/mandoc/man_validate.c
parentKeep the `clamp memory to what pmap can address' logic unconditional, and (diff)
downloadwireguard-openbsd-4f4f79723381956171ed166e137dcb03c9782797.tar.xz
wireguard-openbsd-4f4f79723381956171ed166e137dcb03c9782797.zip
The files mandoc.c and mandoc.h contained both specialised low-level
functions used for multiple languages (mdoc, man, roff), for example mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary functions. Split the auxiliaries out into their own file and header. While here, do some #include cleanup.
Diffstat (limited to 'usr.bin/mandoc/man_validate.c')
-rw-r--r--usr.bin/mandoc/man_validate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_validate.c b/usr.bin/mandoc/man_validate.c
index b1031376ded..e8b96b564df 100644
--- a/usr.bin/mandoc/man_validate.c
+++ b/usr.bin/mandoc/man_validate.c
@@ -1,4 +1,4 @@
-/* $Id: man_validate.c,v 1.60 2014/01/06 22:39:19 schwarze Exp $ */
+/* $Id: man_validate.c,v 1.61 2014/03/21 22:17:01 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -28,6 +28,7 @@
#include "man.h"
#include "mandoc.h"
+#include "mandoc_aux.h"
#include "libman.h"
#include "libmandoc.h"