summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-23 13:48:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-23 13:48:57 +0000
commit4ad53635f5202474c55af90f70bba0ade18962cb (patch)
treeec073e4714b3d859a66a94147789aa077e78dd38 /term.h
parentf2c1420553b275dd2f792b3a15c8fb0437f58052 (diff)
downloadmandoc-4ad53635f5202474c55af90f70bba0ade18962cb.tar.gz
support negative horizontal widths in man(7);
minus twenty lines of code in spite of enhanced functionality
Diffstat (limited to 'term.h')
-rw-r--r--term.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/term.h b/term.h
index 40f2bcf9..f9170f0c 100644
--- a/term.h
+++ b/term.h
@@ -121,10 +121,8 @@ void term_begin(struct termp *, term_margin,
void term_end(struct termp *);
void term_setwidth(struct termp *, const char *);
-size_t term_hspan(const struct termp *,
- const struct roffsu *);
-size_t term_vspan(const struct termp *,
- const struct roffsu *);
+int term_hspan(const struct termp *, const struct roffsu *);
+int term_vspan(const struct termp *, const struct roffsu *);
size_t term_strlen(const struct termp *, const char *);
size_t term_len(const struct termp *, size_t);