summaryrefslogtreecommitdiffstats
path: root/libmdoc.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
commitc5cf90497acc3621015972b85b9c079b43601342 (patch)
tree746bb9279cdca11169c3263e138d6798d88c4be5 /libmdoc.h
parent8ee307fc9980fbb248f1ed3b9c0da115e8c79440 (diff)
downloadmandoc-c5cf90497acc3621015972b85b9c079b43601342.tar.gz
Mechanical diff allowing the const struct regset to propogate through
libman and libmdoc.
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);