From 397916af9099ebb9b23d491efef58d48d4e88133 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 26 Jun 2010 16:07:08 +0000 Subject: Mechanical diff allowing the const struct regset to propogate through libman and libmdoc. --- libman.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libman.h') diff --git a/libman.h b/libman.h index e7d537c2..2bc50027 100644 --- a/libman.h +++ b/libman.h @@ -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 * @@ -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); -- cgit v1.2.3