diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-26 16:07:08 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-26 16:07:08 +0000 |
commit | c5cf90497acc3621015972b85b9c079b43601342 (patch) | |
tree | 746bb9279cdca11169c3263e138d6798d88c4be5 /libmdoc.h | |
parent | 8ee307fc9980fbb248f1ed3b9c0da115e8c79440 (diff) | |
download | mandoc-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.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); |