diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-23 15:33:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-23 15:33:57 +0000 |
commit | 99b164cf472f394fe3688ecc1b3766ba76fe7278 (patch) | |
tree | e444ce7522fea43a6a1d2393e21925b1193fd074 /libman.h | |
parent | 22671958d103a1eca7f6675bff049e902034637b (diff) | |
download | mandoc-99b164cf472f394fe3688ecc1b3766ba76fe7278.tar.gz |
Merge man_args() into man_macro.c, the only place where it's called, and
make its return value boolean (we don't care about QWORD). We can move
it into mdoc_macro.c because it's basically just a wrapper around
mandoc_getarg(). Then blow away man_argv.c, which is left empty.
Diffstat (limited to 'libman.h')
-rw-r--r-- | libman.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -56,12 +56,6 @@ struct man_macro { #define MAN_NOCLOSE (1 << 4) /* See blk_exp(). */ }; -enum margserr { - ARGS_EOLN, - ARGS_WORD, - ARGS_QWORD -}; - extern const struct man_macro *const man_macros; __BEGIN_DECLS @@ -80,7 +74,6 @@ void man_node_delete(struct man *, struct man_node *); void man_hash_init(void); enum mant man_hash_find(const char *); int man_macroend(struct man *); -enum margserr man_args(struct man *, int, int *, char *, char **); int man_valid_post(struct man *); int man_valid_pre(struct man *, struct man_node *); int man_unscope(struct man *, |