From 9f2b3d601aefb1ab04d42e1b6b1adc6d19e62a91 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 18 Feb 2017 13:43:52 +0000 Subject: preconv_encode() can take a const input buffer; diff from --- libmandoc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmandoc.h') 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 * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -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 *); -- cgit v1.2.3