From 56db51154e503662dc8c9cfed83c0bc0172a3f82 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 | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'man.h') diff --git a/man.h b/man.h index 66f75813..c27703a1 100644 --- a/man.h +++ b/man.h @@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.71 2015/04/02 22:48:17 schwarze Exp $ */ +/* $Id: man.h,v 1.72 2015/04/02 23:48:19 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -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 v1.2.3-56-ge451