summaryrefslogtreecommitdiffstats
path: root/mdoc.3
diff options
context:
space:
mode:
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;