summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-01 08:05:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-01 08:05:52 +0000
commit35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba (patch)
tree44fe9754b5993ea9db9db6a9c6e870be5c94f738 /term.h
parentb61046b64bcba656a10cf3b23c4cb547c2f2eef5 (diff)
downloadmandoc-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.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/term.h b/term.h
index b6fe8e87..8d86d87a 100644
--- a/term.h
+++ b/term.h
@@ -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 *);