diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:06:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:06:39 +0000 |
commit | 87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3 (patch) | |
tree | 77e785e3111f4ee50958f980199ad642e4ff878d /main.c | |
parent | 2b2bf499dc15caf698ef62f3186d475c99e996bc (diff) | |
download | mandoc-87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3.tar.gz |
Replace the structs mdoc and man by a unified struct roff_man.
Almost completely mechanical, no functional change.
Written on the train from Exeter to London returning from p2k15.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -58,8 +58,8 @@ enum outmode { OUTMODE_ONE }; -typedef void (*out_mdoc)(void *, const struct mdoc *); -typedef void (*out_man)(void *, const struct man *); +typedef void (*out_mdoc)(void *, const struct roff_man *); +typedef void (*out_man)(void *, const struct roff_man *); typedef void (*out_free)(void *); enum outt { @@ -632,8 +632,8 @@ static void parse(struct curparse *curp, int fd, const char *file) { enum mandoclevel rctmp; - struct mdoc *mdoc; - struct man *man; + struct roff_man *mdoc; + struct roff_man *man; /* Begin by parsing the file itself. */ |