summaryrefslogtreecommitdiffstats
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
commit35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba (patch)
tree44fe9754b5993ea9db9db6a9c6e870be5c94f738 /out.h
parentb61046b64bcba656a10cf3b23c4cb547c2f2eef5 (diff)
downloadmandoc-35222d2bf1b794cf12e57a16c0bef4a7bcf4eeba.tar.gz
header cleanup:
* add missing forward declarations * remove needless header inclusions * some style unification
Diffstat (limited to 'out.h')
-rw-r--r--out.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/out.h b/out.h
index 8a692717..c30cfe59 100644
--- a/out.h
+++ b/out.h
@@ -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);