summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-26 15:36:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-26 15:36:37 +0000
commit8ee307fc9980fbb248f1ed3b9c0da115e8c79440 (patch)
tree66dccb2268cc430f3125d54205263d9fb915a5b6 /mdoc.c
parenta7a9c3b662c1cf6ee6766d865a9dcc58376ea2c9 (diff)
downloadmandoc-8ee307fc9980fbb248f1ed3b9c0da115e8c79440.tar.gz
Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept a
const struct regset pointer. No functionality.
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index 25729ebe..6dc68b28 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -29,6 +29,7 @@
#include <time.h>
#include "mandoc.h"
+#include "regs.h"
#include "libmdoc.h"
#include "libmandoc.h"
@@ -229,7 +230,8 @@ mdoc_endparse(struct mdoc *m)
* the macro (mdoc_pmacro()) or text parser (mdoc_ptext()).
*/
int
-mdoc_parseln(struct mdoc *m, int ln, char *buf, int offs)
+mdoc_parseln(struct mdoc *m, const struct regset *regs,
+ int ln, char *buf, int offs)
{
if (MDOC_HALT & m->flags)