X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/b6f6b7ee15f64b3ab129ecfa179af940f18a258d..f7e2f01b2993cc63491f8e56d3db6f1df3be8bb9:/libman.h?ds=sidebyside diff --git a/libman.h b/libman.h index 6dd453ed..312093dd 100644 --- a/libman.h +++ b/libman.h @@ -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