diff options
author | 2015-04-02 23:47:43 +0000 | |
---|---|---|
committer | 2015-04-02 23:47:43 +0000 | |
commit | 2a238f450e165ba916583c3adead886533388bc3 (patch) | |
tree | 7933252f8f90ce208d7db0049ff6517eca16a750 /usr.bin/mandoc/mdoc_man.c | |
parent | murder excessive whitespace (diff) | |
download | wireguard-openbsd-2a238f450e165ba916583c3adead886533388bc3.tar.xz wireguard-openbsd-2a238f450e165ba916583c3adead886533388bc3.zip |
Third step towards parser unification:
Replace struct mdoc_meta and struct man_meta by a unified struct roff_meta.
Written of the train from London to Exeter on the way to p2k15.
Diffstat (limited to 'usr.bin/mandoc/mdoc_man.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_man.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c index 303f17a4fca..a212740a5a7 100644 --- a/usr.bin/mandoc/mdoc_man.c +++ b/usr.bin/mandoc/mdoc_man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_man.c,v 1.88 2015/04/02 22:06:17 schwarze Exp $ */ +/* $OpenBSD: mdoc_man.c,v 1.89 2015/04/02 23:47:43 schwarze Exp $ */ /* * Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org> * @@ -28,7 +28,7 @@ #include "out.h" #include "main.h" -#define DECL_ARGS const struct mdoc_meta *meta, struct roff_node *n +#define DECL_ARGS const struct roff_meta *meta, struct roff_node *n struct manact { int (*cond)(DECL_ARGS); /* DON'T run actions */ @@ -545,7 +545,7 @@ man_man(void *arg, const struct man *man) void man_mdoc(void *arg, const struct mdoc *mdoc) { - const struct mdoc_meta *meta; + const struct roff_meta *meta; struct roff_node *n; meta = mdoc_meta(mdoc); |