aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-26 16:07:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-26 16:07:08 +0000
commit397916af9099ebb9b23d491efef58d48d4e88133 (patch)
treec9a9fd158343804cb5026b9604e097f6ad990ab5 /libman.h
parent2bcccf0dba8f2c504e9c3597a11177aaca90023c (diff)
downloadmandoc-397916af9099ebb9b23d491efef58d48d4e88133.tar.gz
mandoc-397916af9099ebb9b23d491efef58d48d4e88133.tar.zst
mandoc-397916af9099ebb9b23d491efef58d48d4e88133.zip
Mechanical diff allowing the const struct regset to propogate through
libman and libmdoc.
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libman.h b/libman.h
index e7d537c2..2bc50027 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.37 2010/06/26 15:36:37 kristaps Exp $ */
+/* $Id: libman.h,v 1.38 2010/06/26 16:07:08 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -42,8 +42,13 @@ struct man {
struct man_meta meta;
};
-#define MACRO_PROT_ARGS struct man *m, enum mant tok, int line, \
- int ppos, int *pos, char *buf
+#define MACRO_PROT_ARGS struct man *m, \
+ const struct regset *regs, \
+ enum mant tok, \
+ int line, \
+ int ppos, \
+ int *pos, \
+ char *buf
struct man_macro {
int (*fp)(MACRO_PROT_ARGS);