summaryrefslogtreecommitdiffstats
path: root/man.h
diff options
context:
space:
mode:
Diffstat (limited to 'man.h')
-rw-r--r--man.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/man.h b/man.h
index a9094c41..8f71f329 100644
--- a/man.h
+++ b/man.h
@@ -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 *);