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 | 35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba (patch) | |
tree | 44fe9754b5993ea9db9db6a9c6e870be5c94f738 /term.h | |
parent | b61046b64bcba656a10cf3b23c4cb547c2f2eef5 (diff) | |
download | mandoc-35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba.tar.gz |
header cleanup:
* add missing forward declarations
* remove needless header inclusions
* some style unification
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 *); |