aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-08 13:22:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-08 13:22:37 +0000
commitc3a38b374a5f4635f91f2b980e43da5b27e0d36a (patch)
tree5dd86d80c83deb56e6fbdf3b8bae2d5caa355827 /main.h
parent7e3debcee89f432bd9db276d89ee6030b30a9479 (diff)
downloadmandoc-c3a38b374a5f4635f91f2b980e43da5b27e0d36a.tar.gz
mandoc-c3a38b374a5f4635f91f2b980e43da5b27e0d36a.tar.zst
mandoc-c3a38b374a5f4635f91f2b980e43da5b27e0d36a.zip
No functionality changes: just restructuring. Deprecated
terminal_free() in favour of ps_free() and ascii_free(). Moved ps_*() functions into term_ps.c so that they don't clutter up term.c.
Diffstat (limited to 'main.h')
-rw-r--r--main.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.h b/main.h
index c9f522a8..75b28408 100644
--- a/main.h
+++ b/main.h
@@ -1,4 +1,4 @@
-/* $Id: main.h,v 1.5 2010/06/07 20:57:09 kristaps Exp $ */
+/* $Id: main.h,v 1.6 2010/06/08 13:22:37 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -42,10 +42,13 @@ void tree_mdoc(void *, const struct mdoc *);
void tree_man(void *, const struct man *);
void *ascii_alloc(char *);
+void ascii_free(void *);
+
void *ps_alloc(void);
+void ps_free(void *);
+
void terminal_mdoc(void *, const struct mdoc *);
void terminal_man(void *, const struct man *);
-void terminal_free(void *);
__END_DECLS