diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-11-28 06:26:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-11-28 06:26:47 +0000 |
commit | 892a61a6de427dfed272236f50f0172002c4970a (patch) | |
tree | 6681fd416fc97bbec856a410cf21d4755b746e42 /usr.bin/mandoc/libmandoc.h | |
parent | 0c7d90a5a4779732a78b2e26b6e14740da4238b2 (diff) |
Simplify by making the eqn and tbl steering functions void;
no functional change, minus 15 lines of code.
Diffstat (limited to 'usr.bin/mandoc/libmandoc.h')
-rw-r--r-- | usr.bin/mandoc/libmandoc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mandoc/libmandoc.h b/usr.bin/mandoc/libmandoc.h index 7fc3653e363..b3f3b550968 100644 --- a/usr.bin/mandoc/libmandoc.h +++ b/usr.bin/mandoc/libmandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libmandoc.h,v 1.35 2014/11/27 14:31:29 deraadt Exp $ */ +/* $OpenBSD: libmandoc.h,v 1.36 2014/11/28 06:26:46 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -55,16 +55,16 @@ struct mdoc *mdoc_alloc(struct roff *, struct mparse *, void mdoc_reset(struct mdoc *); int mdoc_parseln(struct mdoc *, int, char *, int); int mdoc_endparse(struct mdoc *); -int mdoc_addspan(struct mdoc *, const struct tbl_span *); -int mdoc_addeqn(struct mdoc *, const struct eqn *); +void mdoc_addspan(struct mdoc *, const struct tbl_span *); +void mdoc_addeqn(struct mdoc *, const struct eqn *); void man_free(struct man *); struct man *man_alloc(struct roff *, struct mparse *, int); void man_reset(struct man *); int man_parseln(struct man *, int, char *, int); int man_endparse(struct man *); -int man_addspan(struct man *, const struct tbl_span *); -int man_addeqn(struct man *, const struct eqn *); +void man_addspan(struct man *, const struct tbl_span *); +void man_addeqn(struct man *, const struct eqn *); int preconv_cue(const struct buf *, size_t); int preconv_encode(struct buf *, size_t *, |