From 7355c805552e6fc47e10d976711b6169f0f3c0e0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 2 Apr 2015 23:48:19 +0000 Subject: 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. --- man.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'man.h') diff --git a/man.h b/man.h index 88afb0d2..49c2aa00 100644 --- a/man.h +++ b/man.h @@ -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 *); -- cgit