diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-09 11:31:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-09 11:31:43 +0000 |
commit | 48b1f615ccd6f22e18e6caa0135684dc84559119 (patch) | |
tree | 01deacc78fec1751c9603d62f9046a803a9a5e07 /mandoc.h | |
parent | e8a3453579a72aae8c47741db7c4ea6dbb18ccc5 (diff) | |
download | mandoc-48b1f615ccd6f22e18e6caa0135684dc84559119.tar.gz |
mark defos as const; nobody needs to change it,
and it is occasionally useful to be able to pass literal strings
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -419,7 +419,8 @@ int mchars_spec2cp(const struct mchars *, const char *, size_t); const char *mchars_spec2str(const struct mchars *, const char *, size_t, size_t *); -struct mparse *mparse_alloc(int, enum mandoclevel, mandocmsg, char *); +struct mparse *mparse_alloc(int, enum mandoclevel, mandocmsg, + const char *); void mparse_free(struct mparse *); void mparse_keep(struct mparse *); enum mandoclevel mparse_readfd(struct mparse *, int, const char *); |