diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-02 23:48:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-02 23:48:19 +0000 |
commit | 7355c805552e6fc47e10d976711b6169f0f3c0e0 (patch) | |
tree | 8ad95f5fc9d0dbda235694991290ea83f7484abe /man.h | |
parent | 9e6e3b6be0e9ffe29cf4876ce0b7ded2c3c386b9 (diff) | |
download | mandoc-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 'man.h')
-rw-r--r-- | man.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -56,15 +56,6 @@ #define MAN_ll 37 #define MAN_MAX 38 -struct man_meta { - char *msec; /* `TH' section (1, 3p, etc.) */ - char *date; /* `TH' normalised date */ - char *vol; /* `TH' volume */ - char *title; /* `TH' title (e.g., FOO) */ - char *source; /* `TH' source (e.g., GNU) */ - int hasbody; /* document is not empty */ -}; - /* Names of macros. */ extern const char *const *man_macronames; @@ -73,7 +64,7 @@ __BEGIN_DECLS struct man; const struct roff_node *man_node(const struct man *); -const struct man_meta *man_meta(const struct man *); +const struct roff_meta *man_meta(const struct man *); const struct mparse *man_mparse(const struct man *); void man_deroff(char **, const struct roff_node *); |