diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-26 15:36:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-26 15:36:37 +0000 |
commit | 2bcccf0dba8f2c504e9c3597a11177aaca90023c (patch) | |
tree | 5679bb625ff313e97d238c6ed07c5a61bb61464c /mdoc.c | |
parent | 712ec41a30db9c8794ec92168b9d2b39f1dee6da (diff) | |
download | mandoc-2bcccf0dba8f2c504e9c3597a11177aaca90023c.tar.gz mandoc-2bcccf0dba8f2c504e9c3597a11177aaca90023c.tar.zst mandoc-2bcccf0dba8f2c504e9c3597a11177aaca90023c.zip |
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.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.146 2010/06/12 11:58:22 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.147 2010/06/26 15:36:37 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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) |