=================================================================== RCS file: /cvs/mandoc/man.c,v retrieving revision 1.79 retrieving revision 1.83 diff -u -p -r1.79 -r1.83 --- mandoc/man.c 2010/06/27 15:52:41 1.79 +++ mandoc/man.c 2010/07/18 17:00:26 1.83 @@ -1,6 +1,6 @@ -/* $Id: man.c,v 1.79 2010/06/27 15:52:41 kristaps Exp $ */ +/* $Id: man.c,v 1.83 2010/07/18 17:00:26 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 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,7 +28,6 @@ #include #include "mandoc.h" -#include "regs.h" #include "libman.h" #include "libmandoc.h" @@ -95,8 +94,8 @@ man_free(struct man *man) struct man * -man_alloc(const struct regset *regs, - void *data, int pflags, mandocmsg msg) +man_alloc(struct regset *regs, void *data, + int pflags, mandocmsg msg) { struct man *p; @@ -410,7 +409,7 @@ man_ptext(struct man *m, int line, char *buf, int offs */ assert(i); - if (mandoc_eos(buf, (size_t)i)) + if (mandoc_eos(buf, (size_t)i, 0)) m->last->flags |= MAN_EOS; descope: