diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-02-18 13:43:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-02-18 13:43:35 +0000 |
commit | ee09cf636c0f1d410baf227da64bdeef3b2bdc40 (patch) | |
tree | ac06e380d9c586bebcf68c161fde4fb21e1820e4 /usr.bin/mandoc/libmandoc.h | |
parent | 3ed732420ba96a2d80ae8a0f851b3dd5237aa202 (diff) |
preconv_encode() can take a const input buffer;
diff from <christos at NetBSD>
Diffstat (limited to 'usr.bin/mandoc/libmandoc.h')
-rw-r--r-- | usr.bin/mandoc/libmandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/libmandoc.h b/usr.bin/mandoc/libmandoc.h index 3abbdd81022..4f82e71a6fd 100644 --- a/usr.bin/mandoc/libmandoc.h +++ b/usr.bin/mandoc/libmandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: libmandoc.h,v 1.50 2017/02/09 17:19:07 schwarze Exp $ */ +/* $OpenBSD: libmandoc.h,v 1.51 2017/02/18 13:43:34 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -59,7 +59,7 @@ int man_parseln(struct roff_man *, int, char *, int); void man_endparse(struct roff_man *); int preconv_cue(const struct buf *, size_t); -int preconv_encode(struct buf *, size_t *, +int preconv_encode(const struct buf *, size_t *, struct buf *, size_t *, int *); void roff_free(struct roff *); |