summaryrefslogtreecommitdiffstats
path: root/mdoc.3
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 15:52:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 15:52:41 +0000
commit093fd946278d03ba2f1e7e6e6194129e51485c58 (patch)
treebb6e2fa7169415d85019b7e5ad59ae9fc7523d2e /mdoc.3
parent805bacfa2b5e3dcd0164d1295ff66e5d44e91853 (diff)
downloadmandoc-093fd946278d03ba2f1e7e6e6194129e51485c58.tar.gz
Downstream maintainers: this removes UGLY! I don't want diverging
functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff.
Diffstat (limited to 'mdoc.3')
-rw-r--r--mdoc.38
1 files changed, 6 insertions, 2 deletions
diff --git a/mdoc.3 b/mdoc.3
index cc93d711..d27df25a 100644
--- a/mdoc.3
+++ b/mdoc.3
@@ -34,7 +34,12 @@
.Vt extern const char * const * mdoc_macronames;
.Vt extern const char * const * mdoc_argnames;
.Ft "struct mdoc *"
-.Fn mdoc_alloc "void *data" "int pflags" "mandocmsg msgs"
+.Fo mdoc_alloc
+.Fa "const struct regset *regs"
+.Fa "void *data"
+.Fa "int pflags"
+.Fa "mandocmsg msgs"
+.Fc
.Ft int
.Fn mdoc_endparse "struct mdoc *mdoc"
.Ft void
@@ -46,7 +51,6 @@
.Ft int
.Fo mdoc_parseln
.Fa "struct mdoc *mdoc"
-.Fa "const struct regset *regs"
.Fa "int line"
.Fa "char *buf"
.Fc