diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-05 20:30:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-05 20:30:05 +0000 |
commit | 579e24cf01bba12f654342bd89e67dfba1f96569 (patch) | |
tree | 22e1d196c04d1ccfce3f967a82bc1bc940401c5f /mandoc.h | |
parent | edb9abb7cc51f9770c77ed2969f2baf8debc85af (diff) | |
download | mandoc-579e24cf01bba12f654342bd89e67dfba1f96569.tar.gz mandoc-579e24cf01bba12f654342bd89e67dfba1f96569.tar.zst mandoc-579e24cf01bba12f654342bd89e67dfba1f96569.zip |
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.h')
-rw-r--r-- | mandoc.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.110 2013/09/16 00:25:07 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.111 2013/10/05 20:30:05 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012, 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -400,7 +400,8 @@ struct man; __BEGIN_DECLS void *mandoc_calloc(size_t, size_t); -enum mandoc_esc mandoc_escape(const char **, const char **, int *); +enum mandoc_esc mandoc_escape(const char const **, + const char const **, int *); void *mandoc_malloc(size_t); void *mandoc_realloc(void *, size_t); char *mandoc_strdup(const char *); |