summaryrefslogtreecommitdiffstats
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
commitc5cf90497acc3621015972b85b9c079b43601342 (patch)
tree746bb9279cdca11169c3263e138d6798d88c4be5 /libman.h
parent8ee307fc9980fbb248f1ed3b9c0da115e8c79440 (diff)
downloadmandoc-c5cf90497acc3621015972b85b9c079b43601342.tar.gz
Mechanical diff allowing the const struct regset to propogate through
libman and libmdoc.
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libman.h b/libman.h
index 20154706..7119caa2 100644
--- a/libman.h
+++ b/libman.h
@@ -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);