diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-23 11:25:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-03-23 11:25:25 +0000 |
commit | f40dcc7e2054a99977d444c5fa36868fba2c3f36 (patch) | |
tree | c8afef4d61b8627cc3dd4afa60978cec91753911 /lib.c | |
parent | 119d1dcb94c6593777a29408f57b0568ec13482b (diff) | |
download | mandoc-f40dcc7e2054a99977d444c5fa36868fba2c3f36.tar.gz |
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 'lib.c')
-rw-r--r-- | lib.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -18,12 +18,9 @@ #include "config.h" #endif -#include <stdlib.h> #include <string.h> -#include <time.h> #include "mdoc.h" -#include "mandoc.h" #include "libmdoc.h" #define LINE(x, y) \ |