From ed985164976ccd03ae1cd954a33c775bfc84b0c2 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 1 Dec 2014 08:05:52 +0000 Subject: header cleanup: * add missing forward declarations * remove needless header inclusions * some style unification --- term.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'term.h') diff --git a/term.h b/term.h index 180d38f4..e9190a2d 100644 --- a/term.h +++ b/term.h @@ -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 * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -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 *); -- cgit v1.2.3-56-ge451