diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-01 08:05:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-01 08:05:52 +0000 |
commit | ed985164976ccd03ae1cd954a33c775bfc84b0c2 (patch) | |
tree | 2c4e742bc45b22b16784c4c6bf06af2e105abb2c /term.h | |
parent | 8b13e228601c0e1f3edae1b46df73770594095d0 (diff) | |
download | mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.tar.gz mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.tar.zst mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.zip |
header cleanup:
* add missing forward declarations
* remove needless header inclusions
* some style unification
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.106 2014/12/01 04:05:32 schwarze Exp $ */ +/* $Id: term.h,v 1.107 2014/12/01 08:05:52 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -16,10 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -__BEGIN_DECLS - -struct termp; - enum termenc { TERMENC_ASCII, TERMENC_LOCALE, @@ -42,6 +38,8 @@ enum termfont { #define TERM_MAXMARGIN 100000 /* FIXME */ +struct termp; + typedef void (*term_margin)(struct termp *, const void *); struct termp_tbl { @@ -102,6 +100,11 @@ struct termp { struct termp_ps *ps; }; +__BEGIN_DECLS + +struct tbl_span; +struct eqn; + const char *ascii_uc2str(int); void term_eqn(struct termp *, const struct eqn *); |