summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mandoc.h b/mandoc.h
index ee835a84..9ebc0c8d 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -339,8 +339,8 @@ enum mparset {
MPARSE_MAN /* assume -man */
};
-typedef void (*mandocmsg)(enum mandocerr, void *,
- int, int, const char *);
+typedef void (*mandocmsg)(enum mandocerr, enum mandoclevel,
+ const char *, int, int, const char *);
typedef int (*mevt_open)(void *, const char *);
typedef void (*mevt_close)(void *, const char *);
@@ -353,8 +353,8 @@ __BEGIN_DECLS
void mparse_free(struct mparse *);
void mparse_reset(struct mparse *);
struct mparse *mparse_alloc(enum mparset, mevt_open,
- mevt_close, mandocmsg, void *);
-void mparse_setstatus(struct mparse *, enum mandoclevel);
+ mevt_close,
+ enum mandoclevel, mandocmsg, void *);
enum mandoclevel mparse_readfd(struct mparse *, int, const char *);
void mparse_result(struct mparse *, struct mdoc **, struct man **);