=================================================================== RCS file: /cvs/mandoc/libman.h,v retrieving revision 1.76 retrieving revision 1.81 diff -u -p -r1.76 -r1.81 --- mandoc/libman.h 2015/04/19 14:57:38 1.76 +++ mandoc/libman.h 2017/04/29 12:45:41 1.81 @@ -1,4 +1,4 @@ -/* $Id: libman.h,v 1.76 2015/04/19 14:57:38 schwarze Exp $ */ +/* $Id: libman.h,v 1.81 2017/04/29 12:45:41 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -17,7 +17,7 @@ */ #define MACRO_PROT_ARGS struct roff_man *man, \ - int tok, \ + enum roff_tok tok, \ int line, \ int ppos, \ int *pos, \ @@ -34,11 +34,7 @@ struct man_macro { extern const struct man_macro *const man_macros; -__BEGIN_DECLS -int man_hash_find(const char *); -void man_macroend(struct roff_man *); -void man_valid_post(struct roff_man *); +void man_node_validate(struct roff_man *); +void man_state(struct roff_man *, struct roff_node *); void man_unscope(struct roff_man *, const struct roff_node *); - -__END_DECLS