aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.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
commited985164976ccd03ae1cd954a33c775bfc84b0c2 (patch)
tree2c4e742bc45b22b16784c4c6bf06af2e105abb2c /out.h
parent8b13e228601c0e1f3edae1b46df73770594095d0 (diff)
downloadmandoc-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 'out.h')
-rw-r--r--out.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/out.h b/out.h
index bf8016a6..cc218f4f 100644
--- a/out.h
+++ b/out.h
@@ -1,4 +1,4 @@
-/* $Id: out.h,v 1.25 2014/12/01 04:05:32 schwarze Exp $ */
+/* $Id: out.h,v 1.26 2014/12/01 08:05:52 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -50,8 +50,6 @@ struct rofftbl {
void *arg; /* passed to slen and len */
};
-__BEGIN_DECLS
-
#define SCALE_VS_INIT(p, v) \
do { (p)->unit = SCALE_VS; \
(p)->scale = (v); } \
@@ -62,6 +60,10 @@ __BEGIN_DECLS
(p)->scale = (v); } \
while (/* CONSTCOND */ 0)
+__BEGIN_DECLS
+
+struct tbl_span;
+
int a2roffsu(const char *, struct roffsu *, enum roffscale);
void tblcalc(struct rofftbl *tbl,
const struct tbl_span *, size_t);