=================================================================== RCS file: /cvs/mandoc/roff.h,v retrieving revision 1.32 retrieving revision 1.34 diff -u -p -r1.32 -r1.34 --- mandoc/roff.h 2015/04/18 16:34:25 1.32 +++ mandoc/roff.h 2015/04/23 16:17:44 1.34 @@ -1,4 +1,4 @@ -/* $OpenBSD: roff.h,v 1.32 2015/04/18 16:34:25 schwarze Exp $ */ +/* $OpenBSD: roff.h,v 1.34 2015/04/23 16:17:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -97,6 +97,7 @@ struct roff_node { int line; /* Input file line number. */ int pos; /* Input file column number. */ int tok; /* Request or macro ID. */ +#define TOKEN_NONE (-1) /* No request or macro. */ int flags; #define MDOC_VALID (1 << 0) /* Has been validated. */ #define MDOC_ENDED (1 << 1) /* Gone past body end mark. */ @@ -156,3 +157,9 @@ struct roff_man { enum roff_sec lastnamed; /* Last standard section seen. */ enum roff_next next; /* Where to put the next node. */ }; + +__BEGIN_DECLS + +void deroff(char **, const struct roff_node *); + +__END_DECLS