diff options
author | 2014-03-21 22:17:01 +0000 | |
---|---|---|
committer | 2014-03-21 22:17:01 +0000 | |
commit | 4f4f79723381956171ed166e137dcb03c9782797 (patch) | |
tree | 6fc260b9c8d72d494c27492d5fdd2332aa9694c0 /usr.bin/mandoc/manpath.c | |
parent | Keep the `clamp memory to what pmap can address' logic unconditional, and (diff) | |
download | wireguard-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/manpath.c')
-rw-r--r-- | usr.bin/mandoc/manpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/manpath.c b/usr.bin/mandoc/manpath.c index 3e7a45ba423..30380347da8 100644 --- a/usr.bin/mandoc/manpath.c +++ b/usr.bin/mandoc/manpath.c @@ -1,4 +1,4 @@ -/* $Id: manpath.c,v 1.7 2013/11/21 01:47:10 schwarze Exp $ */ +/* $Id: manpath.c,v 1.8 2014/03/21 22:17:01 schwarze Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> @@ -23,7 +23,7 @@ #include <stdlib.h> #include <string.h> -#include "mandoc.h" +#include "mandoc_aux.h" #include "manpath.h" #define MAN_CONF_FILE "/etc/man.conf" |