summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-13 10:57:25 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-13 10:57:25 +0000
commitc73e1ec1c6a54b399da7b779448188ef6db6db68 (patch)
tree03658ba627049a18bc861428324a55cc63174686 /main.c
parentfd6f541ce489626cb695b97a00cee1e243aa40a4 (diff)
downloadmandoc-c73e1ec1c6a54b399da7b779448188ef6db6db68.tar.gz
Moved output definitions into main.h.
Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/main.c b/main.c
index aadd86ac..c94f1072 100644
--- a/main.c
+++ b/main.c
@@ -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 *);