diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 06:27:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-28 06:27:05 +0000 |
commit | 1b9dca418446d812ce8b3ff05f4f025f26435c06 (patch) | |
tree | d9816c40a020031e51cf33a63437c85839cee800 /libmandoc.h | |
parent | 5ad0aed9e9f0fee4047fe0f4b00f3f0f0204f233 (diff) | |
download | mandoc-1b9dca418446d812ce8b3ff05f4f025f26435c06.tar.gz mandoc-1b9dca418446d812ce8b3ff05f4f025f26435c06.tar.zst mandoc-1b9dca418446d812ce8b3ff05f4f025f26435c06.zip |
Simplify by making the eqn and tbl steering functions void;
no functional change, minus 15 lines of code.
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmandoc.h b/libmandoc.h index f19cac62..c5a8d5cd 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.48 2014/11/01 06:03:13 schwarze Exp $ */ +/* $Id: libmandoc.h,v 1.49 2014/11/28 06:27:05 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -60,16 +60,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 *, |