aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit48ef4044a299e0b5996e03ddd8f3b1c6df26796e (patch)
tree418a34095c25b2115f81012d89ffcc555ac6ab0b /libmdoc.h
parent3dcd7c6c3bb160e32a21de52f0ed39d3ec404b14 (diff)
downloadmandoc-48ef4044a299e0b5996e03ddd8f3b1c6df26796e.tar.gz
mandoc-48ef4044a299e0b5996e03ddd8f3b1c6df26796e.tar.zst
mandoc-48ef4044a299e0b5996e03ddd8f3b1c6df26796e.zip
Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 73963a39..a114a6b9 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -1,4 +1,4 @@
-/* $Id: libmdoc.h,v 1.11 2009/06/17 10:53:32 kristaps Exp $ */
+/* $Id: libmdoc.h,v 1.12 2009/07/06 09:21:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 *,