aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc_msg.c')
-rw-r--r--mandoc_msg.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/mandoc_msg.c b/mandoc_msg.c
index aa0cce5a..d2ccb91f 100644
--- a/mandoc_msg.c
+++ b/mandoc_msg.c
@@ -288,8 +288,7 @@ mandoc_msg_setrc(enum mandoclevel level)
}
void
-mandoc_vmsg(enum mandocerr t, void *dummy, int line, int col,
- const char *fmt, ...)
+mandoc_msg(enum mandocerr t, int line, int col, const char *fmt, ...)
{
va_list ap;
enum mandoclevel level;
@@ -324,12 +323,3 @@ mandoc_vmsg(enum mandocerr t, void *dummy, int line, int col,
}
fputc('\n', fileptr);
}
-
-void
-mandoc_msg(enum mandocerr t, void *dummy, int line, int col, const char *msg)
-{
- if (msg == NULL)
- mandoc_vmsg(t, dummy, line, col, NULL);
- else
- mandoc_vmsg(t, dummy, line, col, "%s", msg);
-}