summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mandoc/man.h')
-rw-r--r--usr.bin/mandoc/man.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/mandoc/man.h b/usr.bin/mandoc/man.h
index 756c3b558c9..47ca389fdfe 100644
--- a/usr.bin/mandoc/man.h
+++ b/usr.bin/mandoc/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.21 2010/05/23 20:57:16 schwarze Exp $ */
+/* $Id: man.h,v 1.22 2010/05/23 22:45:00 schwarze Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -100,17 +100,12 @@ struct man_node {
extern const char *const *man_macronames;
-struct man_cb {
- int (*man_warn)(void *, int, int, const char *);
- int (*man_err)(void *, int, int, const char *);
-};
-
__BEGIN_DECLS
struct man;
void man_free(struct man *);
-struct man *man_alloc(void *, int, const struct man_cb *);
+struct man *man_alloc(void *, int, mandocmsg);
void man_reset(struct man *);
int man_parseln(struct man *, int, char *, int);
int man_endparse(struct man *);