diff options
author | 2017-02-18 13:43:52 +0000 | |
---|---|---|
committer | 2017-02-18 13:43:52 +0000 | |
commit | 9f2b3d601aefb1ab04d42e1b6b1adc6d19e62a91 (patch) | |
tree | e5da1ff68fb96e7028eb16b1199c064ef3260a32 /libmandoc.h | |
parent | 1fa93d9309342feabdb39a57539a2492cc3c2b9a (diff) | |
download | mandoc-9f2b3d601aefb1ab04d42e1b6b1adc6d19e62a91.tar.gz mandoc-9f2b3d601aefb1ab04d42e1b6b1adc6d19e62a91.tar.zst mandoc-9f2b3d601aefb1ab04d42e1b6b1adc6d19e62a91.zip |
preconv_encode() can take a const input buffer;
diff from <christos at NetBSD>
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmandoc.h b/libmandoc.h index f733a182..04b3a445 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.65 2017/02/17 14:31:52 schwarze Exp $ */ +/* $Id: libmandoc.h,v 1.66 2017/02/18 13:43:52 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 *); |