diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-08 00:20:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-08 00:20:14 +0000 |
commit | 441ca37fb3bac3eec31fc9b4ae041bdc487611d7 (patch) | |
tree | b41288e365524a0c31636f47b00ac6b8cdecff09 /usr.bin | |
parent | a513af71fc67ddcb671014328447f27ef7058180 (diff) |
sync to 1.7.23: fixed const-nesses
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/man.3 | 8 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc.3 | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/mandoc/man.3 b/usr.bin/mandoc/man.3 index 46c7bf0033e..9d800079e0d 100644 --- a/usr.bin/mandoc/man.3 +++ b/usr.bin/mandoc/man.3 @@ -1,4 +1,4 @@ -.\" $Id: man.3,v 1.2 2009/06/14 23:00:57 schwarze Exp $ +.\" $Id: man.3,v 1.3 2009/07/08 00:20:13 schwarze 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 14 2009 $ +.Dd $Mdocdate: July 8 2009 $ .Dt MAN 3 .Os .\" SECTION @@ -40,9 +40,9 @@ .Ft int .Fn man_parseln "struct man *man" "int line" "char *buf" .Ft "const struct man_node *" -.Fn man_node "struct man *man" +.Fn man_node "const struct man *man" .Ft "const struct man_meta *" -.Fn man_meta "struct man *man" +.Fn man_meta "const struct man *man" .Ft int .Fn man_endparse "struct man *man" .\" SECTION diff --git a/usr.bin/mandoc/mdoc.3 b/usr.bin/mandoc/mdoc.3 index 85b232e874c..364cc15c616 100644 --- a/usr.bin/mandoc/mdoc.3 +++ b/usr.bin/mandoc/mdoc.3 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.3,v 1.2 2009/06/14 23:00:57 schwarze Exp $ +.\" $Id: mdoc.3,v 1.3 2009/07/08 00:20:13 schwarze 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 14 2009 $ +.Dd $Mdocdate: July 8 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; |