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. --- mdoc.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'mdoc.h') 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 -- cgit