summaryrefslogtreecommitdiffstats
path: root/mandoc.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-10-05 20:30:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-10-05 20:30:05 +0000
commit62123f44f4fd9b8d368bf8b7cc392894c78cb1b0 (patch)
treed55ef626f0ce332657b2468fd8f039e281bc2fef /mandoc.c
parentdb1417d7eb2b042c146a8a4ad4515568949f1b06 (diff)
downloadmandoc-62123f44f4fd9b8d368bf8b7cc392894c78cb1b0.tar.gz
Cleanup suggested by gcc-4.8.1, following hints by Christos Zoulas:
- avoid bad qualifier casting in roff.c, roff_parsetext() by changing the mandoc_escape arguments to "const char const **" - avoid bad qualifier casting in mandocdb.c, index_merge() - do not complain about unused variables in test-*.c - garbage collect a few unused variables elsewhere
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.c b/mandoc.c
index b8800d99..fab0c440 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -40,7 +40,7 @@ static char *time2a(time_t);
enum mandoc_esc
-mandoc_escape(const char **end, const char **start, int *sz)
+mandoc_escape(const char const **end, const char const **start, int *sz)
{
const char *local_start;
int local_sz;