summaryrefslogtreecommitdiffstats
path: root/mdoc.3
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.3')
-rw-r--r--mdoc.37
1 files changed, 1 insertions, 6 deletions
diff --git a/mdoc.3 b/mdoc.3
index 289558c6..c5998d34 100644
--- a/mdoc.3
+++ b/mdoc.3
@@ -37,7 +37,6 @@
.Fo mdoc_alloc
.Fa "struct regset *regs"
.Fa "void *data"
-.Fa "int pflags"
.Fa "mandocmsg msgs"
.Fc
.Ft int
@@ -124,10 +123,6 @@ The
.Fa data
pointer is passed to
.Fa msgs .
-The
-.Fa pflags
-arguments are defined in
-.Pa mdoc.h .
Returns NULL on failure.
If non-NULL, the pointer must be freed with
.Fn mdoc_free .
@@ -338,7 +333,7 @@ int line;
bzero(&regs, sizeof(struct regset));
line = 1;
-mdoc = mdoc_alloc(&regs, NULL, 0, NULL);
+mdoc = mdoc_alloc(&regs, NULL, NULL);
buf = NULL;
alloc_len = 0;