=================================================================== RCS file: /cvs/mandoc/eqn.c,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- mandoc/eqn.c 2011/02/06 20:36:36 1.1 +++ mandoc/eqn.c 2011/03/22 09:48:13 1.4 @@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.1 2011/02/06 20:36:36 kristaps Exp $ */ +/* $Id: eqn.c,v 1.4 2011/03/22 09:48:13 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -25,7 +25,6 @@ #include #include "mandoc.h" -#include "roff.h" #include "libmandoc.h" #include "libroff.h" @@ -59,12 +58,13 @@ eqn_alloc(int pos, int line) struct eqn_node *p; p = mandoc_calloc(1, sizeof(struct eqn_node)); - p->line = line; - p->pos = pos; + p->eqn.line = line; + p->eqn.pos = pos; return(p); } +/* ARGSUSED */ void eqn_end(struct eqn_node *e) {