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 | 397916af9099ebb9b23d491efef58d48d4e88133 (patch) | |
tree | c9a9fd158343804cb5026b9604e097f6ad990ab5 /libman.h | |
parent | 2bcccf0dba8f2c504e9c3597a11177aaca90023c (diff) | |
download | mandoc-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.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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); |