summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-06 09:21:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-06 09:21:24 +0000
commit4baed99617de2e5dacb16862a0cecb8885b435f0 (patch)
treed9f9bab848b056d01e919c484bc3c34b6516f2b1 /libmdoc.h
parent0624c9ad95223c7844a47eca56f838193ad71a0b (diff)
downloadmandoc-4baed99617de2e5dacb16862a0cecb8885b435f0.tar.gz
Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/libmdoc.h b/libmdoc.h
index f402ac13..c8e97efe 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -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 *,