=================================================================== RCS file: /cvs/mandoc/man.c,v retrieving revision 1.75 retrieving revision 1.80 diff -u -p -r1.75 -r1.80 --- mandoc/man.c 2010/05/26 14:03:54 1.75 +++ mandoc/man.c 2010/06/27 16:18:13 1.80 @@ -1,6 +1,6 @@ -/* $Id: man.c,v 1.75 2010/05/26 14:03:54 kristaps Exp $ */ +/* $Id: man.c,v 1.80 2010/06/27 16:18:13 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -28,6 +28,7 @@ #include #include "mandoc.h" +#include "regs.h" #include "libman.h" #include "libmandoc.h" @@ -94,7 +95,8 @@ man_free(struct man *man) struct man * -man_alloc(void *data, int pflags, mandocmsg msg) +man_alloc(struct regset *regs, void *data, + int pflags, mandocmsg msg) { struct man *p; @@ -104,6 +106,7 @@ man_alloc(void *data, int pflags, mandocmsg msg) p->data = data; p->pflags = pflags; p->msg = msg; + p->regs = regs; man_alloc1(p); return(p);