summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-18 16:06:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-18 16:06:39 +0000
commit87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3 (patch)
tree77e785e3111f4ee50958f980199ad642e4ff878d /main.c
parent2b2bf499dc15caf698ef62f3186d475c99e996bc (diff)
downloadmandoc-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index e9cc6d6c..9678b314 100644
--- a/main.c
+++ b/main.c
@@ -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. */