From 90913383a1a42f4ed3816d5206553df9db14e839 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 18 Apr 2015 16:06:39 +0000 Subject: Replace the structs mdoc and man by a unified struct roff_man. Almost completely mechanical, no functional change. Written on the train from Exeter to London returning from p2k15. --- main.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'main.h') diff --git a/main.h b/main.h index 60065e5f..19dd0f65 100644 --- a/main.h +++ b/main.h @@ -1,4 +1,4 @@ -/* $Id: main.h,v 1.21 2015/03/27 21:33:20 schwarze Exp $ */ +/* $Id: main.h,v 1.22 2015/04/18 16:06:40 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -21,8 +21,7 @@ __BEGIN_DECLS struct mchars; -struct mdoc; -struct man; +struct roff_man; struct manoutput; /* @@ -34,15 +33,15 @@ struct manoutput; void *html_alloc(const struct mchars *, const struct manoutput *); -void html_mdoc(void *, const struct mdoc *); -void html_man(void *, const struct man *); +void html_mdoc(void *, const struct roff_man *); +void html_man(void *, const struct roff_man *); void html_free(void *); -void tree_mdoc(void *, const struct mdoc *); -void tree_man(void *, const struct man *); +void tree_mdoc(void *, const struct roff_man *); +void tree_man(void *, const struct roff_man *); -void man_mdoc(void *, const struct mdoc *); -void man_man(void *, const struct man *); +void man_mdoc(void *, const struct roff_man *); +void man_man(void *, const struct roff_man *); void *locale_alloc(const struct mchars *, const struct manoutput *); @@ -59,7 +58,7 @@ void *ps_alloc(const struct mchars *, const struct manoutput *); void pspdf_free(void *); -void terminal_mdoc(void *, const struct mdoc *); -void terminal_man(void *, const struct man *); +void terminal_mdoc(void *, const struct roff_man *); +void terminal_man(void *, const struct roff_man *); __END_DECLS -- cgit v1.2.3