diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-06 09:21:24 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-06 09:21:24 +0000 |
commit | 4baed99617de2e5dacb16862a0cecb8885b435f0 (patch) | |
tree | d9f9bab848b056d01e919c484bc3c34b6516f2b1 /libmdoc.h | |
parent | 0624c9ad95223c7844a47eca56f838193ad71a0b (diff) | |
download | mandoc-4baed99617de2e5dacb16862a0cecb8885b435f0.tar.gz |
Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -64,16 +64,13 @@ __BEGIN_DECLS * When GCC2 is deprecated, most of these can be reverted to #define * as mdoc_vXXX using __VA_ARGS__. Until then, use real functions. */ -int mdoc_vwarn(struct mdoc *, int, int, - enum mdoc_warn, const char *, ...); -int mdoc_verr(struct mdoc *, int, int, - const char *, ...); +int mdoc_vwarn(struct mdoc *, int, int, const char *, ...); +int mdoc_verr(struct mdoc *, int, int, const char *, ...); int mdoc_nerr(struct mdoc *, const struct mdoc_node *, const char *, ...); -int mdoc_warn(struct mdoc *, enum mdoc_warn, const char *, ...); +int mdoc_warn(struct mdoc *, const char *, ...); int mdoc_err(struct mdoc *, const char *, ...); -int mdoc_pwarn(struct mdoc *, int, int, - enum mdoc_warn,const char *, ...); +int mdoc_pwarn(struct mdoc *, int, int, const char *, ...); int mdoc_perr(struct mdoc *, int, int, const char *, ...); int mdoc_macro(MACRO_PROT_ARGS); int mdoc_word_alloc(struct mdoc *, |