summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-02 23:48:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-02 23:48:19 +0000
commit7355c805552e6fc47e10d976711b6169f0f3c0e0 (patch)
tree8ad95f5fc9d0dbda235694991290ea83f7484abe /mdoc.h
parent9e6e3b6be0e9ffe29cf4876ce0b7ded2c3c386b9 (diff)
downloadmandoc-7355c805552e6fc47e10d976711b6169f0f3c0e0.tar.gz
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 'mdoc.h')
-rw-r--r--mdoc.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/mdoc.h b/mdoc.h
index 1da5b05c..d670fdcf 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -172,16 +172,6 @@ enum mdocargt {
MDOC_ARG_MAX
};
-struct mdoc_meta {
- char *msec; /* `Dt' section (1, 3p, etc.) */
- char *vol; /* `Dt' volume (implied) */
- char *arch; /* `Dt' arch (i386, etc.) */
- char *date; /* `Dd' normalised date */
- char *title; /* `Dt' title (FOO, etc.) */
- char *os; /* `Os' system (OpenBSD, etc.) */
- char *name; /* leading `Nm' name */
-};
-
/*
* An argument to a macro (multiple values = `-column xxx yyy').
*/
@@ -295,7 +285,7 @@ __BEGIN_DECLS
struct mdoc;
const struct roff_node *mdoc_node(const struct mdoc *);
-const struct mdoc_meta *mdoc_meta(const struct mdoc *);
+const struct roff_meta *mdoc_meta(const struct mdoc *);
void mdoc_deroff(char **, const struct roff_node *);
__END_DECLS