From e012cb8b2706ff0d54c6b3b68fa79354484752dc Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 13 Oct 2009 10:57:25 +0000 Subject: Moved output definitions into main.h. Pushed terminal_{mdoc,man} into {mdoc,man}_term.c. --- main.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 79c5f1f3..134a8b84 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.45 2009/10/13 10:21:24 kristaps Exp $ */ +/* $Id: main.c,v 1.46 2009/10/13 10:57:25 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -27,6 +27,7 @@ #include "mdoc.h" #include "man.h" +#include "main.h" #define UNCONST(a) ((void *)(uintptr_t)(const void *)(a)) @@ -90,17 +91,6 @@ struct curparse { char *outopts; }; -extern void *html_alloc(char *); -extern void html_mdoc(void *, const struct mdoc *); -extern void html_man(void *, const struct man *); -extern void html_free(void *); -extern void *ascii_alloc(void); -extern void tree_mdoc(void *, const struct mdoc *); -extern void tree_man(void *, const struct man *); -extern void terminal_mdoc(void *, const struct mdoc *); -extern void terminal_man(void *, const struct man *); -extern void terminal_free(void *); - static int foptions(int *, char *); static int toptions(enum outt *, char *); static int moptions(enum intt *, char *); -- cgit v1.2.3