summaryrefslogtreecommitdiffstats
path: root/mdoc.3
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-05 19:30:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-05 19:30:49 +0000
commit0624c9ad95223c7844a47eca56f838193ad71a0b (patch)
tree394f9199da98ceee327b3dce3bda6f1de6b3c4fa /mdoc.3
parent97fd5f62e106576703ae6adde42a8fa2a7fab579 (diff)
downloadmandoc-0624c9ad95223c7844a47eca56f838193ad71a0b.tar.gz
Fixed man.3 mdoc.3 const-nesses.
Diffstat (limited to 'mdoc.3')
-rw-r--r--mdoc.36
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc.3 b/mdoc.3
index 34277ab6..6abb2e21 100644
--- a/mdoc.3
+++ b/mdoc.3
@@ -41,9 +41,9 @@
.Ft int
.Fn mdoc_parseln "struct mdoc *mdoc" "int line" "char *buf"
.Ft "const struct mdoc_node *"
-.Fn mdoc_node "struct mdoc *mdoc"
+.Fn mdoc_node "const struct mdoc *mdoc"
.Ft "const struct mdoc_meta *"
-.Fn mdoc_meta "struct mdoc *mdoc"
+.Fn mdoc_meta "const struct mdoc *mdoc"
.Ft int
.Fn mdoc_endparse "struct mdoc *mdoc"
.\" SECTION
@@ -265,7 +265,7 @@ will truncate the file's last character (see
Further, this example does not error-check nor free memory upon failure.
.Bd -literal -offset "XXXX"
struct mdoc *mdoc;
-struct mdoc_node *node;
+const struct mdoc_node *node;
char *buf;
size_t len;
int line;