summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-08 00:15:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-08 00:15:23 +0000
commit7f5351a1e9d07e9a65c22430e56ff4c50c4a9bdf (patch)
treee11bfd5999a90dc1e0b895076fb6eb87f5b41506 /mandoc.h
parent9830303b6541ca2717331d52b40997c9e566a48b (diff)
downloadmandoc-7f5351a1e9d07e9a65c22430e56ff4c50c4a9bdf.tar.gz
Const-ify some mchars arguments. I think these are non-const for historical
dumbness on my part.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index fc7e19df..85724bed 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -409,9 +409,9 @@ struct mchars *mchars_alloc(void);
void mchars_free(struct mchars *);
char mchars_num2char(const char *, size_t);
int mchars_num2uc(const char *, size_t);
-int mchars_spec2cp(struct mchars *,
+int mchars_spec2cp(const struct mchars *,
const char *, size_t);
-const char *mchars_spec2str(struct mchars *,
+const char *mchars_spec2str(const struct mchars *,
const char *, size_t, size_t *);
struct mparse *mparse_alloc(enum mparset,
enum mandoclevel, mandocmsg, void *);