aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.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
commit2bcccf0dba8f2c504e9c3597a11177aaca90023c (patch)
tree5679bb625ff313e97d238c6ed07c5a61bb61464c /man.c
parent712ec41a30db9c8794ec92168b9d2b39f1dee6da (diff)
downloadmandoc-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 'man.c')
-rw-r--r--man.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/man.c b/man.c
index b810735b..02b5bd2f 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.76 2010/06/19 20:46:28 kristaps Exp $ */
+/* $Id: man.c,v 1.77 2010/06/26 15:36:37 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -28,6 +28,7 @@
#include <string.h>
#include "mandoc.h"
+#include "regs.h"
#include "libman.h"
#include "libmandoc.h"
@@ -124,7 +125,8 @@ man_endparse(struct man *m)
int
-man_parseln(struct man *m, int ln, char *buf, int offs)
+man_parseln(struct man *m, const struct regset *regs,
+ int ln, char *buf, int offs)
{
if (MAN_HALT & m->flags)