aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.3
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
commit579e24cf01bba12f654342bd89e67dfba1f96569 (patch)
tree22e1d196c04d1ccfce3f967a82bc1bc940401c5f /mandoc.3
parentedb9abb7cc51f9770c77ed2969f2baf8debc85af (diff)
downloadmandoc-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.3')
-rw-r--r--mandoc.38
1 files changed, 4 insertions, 4 deletions
diff --git a/mandoc.3 b/mandoc.3
index bc6aa904..b864e489 100644
--- a/mandoc.3
+++ b/mandoc.3
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.3,v 1.20 2013/09/16 22:54:38 schwarze Exp $
+.\" $Id: mandoc.3,v 1.21 2013/10/05 20:30:05 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 16 2013 $
+.Dd $Mdocdate: October 5 2013 $
.Dt MANDOC 3
.Os
.Sh NAME
@@ -50,8 +50,8 @@
.In mandoc.h
.Ft "enum mandoc_esc"
.Fo mandoc_escape
-.Fa "const char **end"
-.Fa "const char **start"
+.Fa "const char const **end"
+.Fa "const char const **start"
.Fa "int *sz"
.Fc
.Ft "const struct man_meta *"