aboutsummaryrefslogtreecommitdiffstatshomepage
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
commite98af5414161553ffd7b765ad3a2451626334232 (patch)
tree71e081d88f9d7e31540b032aa105d2794f17c438 /term.h
parentff9ffdaa32c8d8843620079281b5c445b548babc (diff)
downloadmandoc-e98af5414161553ffd7b765ad3a2451626334232.tar.gz
mandoc-e98af5414161553ffd7b765ad3a2451626334232.tar.zst
mandoc-e98af5414161553ffd7b765ad3a2451626334232.zip
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.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/term.h b/term.h
index 2ee96641..34249df6 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.109 2014/12/19 17:12:04 schwarze Exp $ */
+/* $Id: term.h,v 1.110 2014/12/23 13:48:57 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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);