=================================================================== RCS file: /cvs/mandoc/term.h,v retrieving revision 1.106 retrieving revision 1.107 diff -u -p -r1.106 -r1.107 --- mandoc/term.h 2014/12/01 04:05:32 1.106 +++ mandoc/term.h 2014/12/01 08:05:52 1.107 @@ -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 { @@ -101,6 +99,11 @@ struct termp { const void *argf; /* arg for headf/footf */ struct termp_ps *ps; }; + +__BEGIN_DECLS + +struct tbl_span; +struct eqn; const char *ascii_uc2str(int);