summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.h b/mdoc.h
index 18fa15ee..544950f5 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -413,10 +413,10 @@ struct mdoc *mdoc_alloc(void *data, const struct mdoc_cb *);
int mdoc_parseln(struct mdoc *, int, char *buf);
/* Get result first node (after mdoc_endparse!). */
-const struct mdoc_node *mdoc_node(struct mdoc *);
+const struct mdoc_node *mdoc_node(const struct mdoc *);
/* Get result meta-information (after mdoc_endparse!). */
-const struct mdoc_meta *mdoc_meta(struct mdoc *);
+const struct mdoc_meta *mdoc_meta(const struct mdoc *);
/* Signal end of parse sequence (boolean retval). */
int mdoc_endparse(struct mdoc *);