summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libmdoc.h b/libmdoc.h
index f05130d2..fb93f5a5 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -45,8 +45,13 @@ struct mdoc {
enum mdoc_sec lastsec;
};
-#define MACRO_PROT_ARGS struct mdoc *m, enum mdoct tok, \
- int line, int ppos, int *pos, char *buf
+#define MACRO_PROT_ARGS struct mdoc *m, \
+ const struct regset *regs, \
+ enum mdoct tok, \
+ int line, \
+ int ppos, \
+ int *pos, \
+ char *buf
struct mdoc_macro {
int (*fp)(MACRO_PROT_ARGS);