summaryrefslogtreecommitdiffstatshomepage
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
commit3dcd7c6c3bb160e32a21de52f0ed39d3ec404b14 (patch)
treeb17ee7a6b51cdd264feeb5481b11f0b4609077da /mdoc.3
parent476e874dadf111ce03f98d77db0a890e143168db (diff)
downloadmandoc-3dcd7c6c3bb160e32a21de52f0ed39d3ec404b14.tar.gz
mandoc-3dcd7c6c3bb160e32a21de52f0ed39d3ec404b14.tar.zst
mandoc-3dcd7c6c3bb160e32a21de52f0ed39d3ec404b14.zip
Fixed man.3 mdoc.3 const-nesses.
Diffstat (limited to 'mdoc.3')
-rw-r--r--mdoc.310
1 files changed, 5 insertions, 5 deletions
diff --git a/mdoc.3 b/mdoc.3
index 6c50a489..8f667235 100644
--- a/mdoc.3
+++ b/mdoc.3
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.3,v 1.30 2009/06/11 07:26:35 kristaps Exp $
+.\" $Id: mdoc.3,v 1.31 2009/07/05 19:30:49 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -14,7 +14,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: June 11 2009 $
+.Dd $Mdocdate: July 5 2009 $
.Dt MDOC 3
.Os
.\" SECTION
@@ -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;