summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dive.h1
-rw-r--r--core/errorhelper.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/core/dive.h b/core/dive.h
index 4172c9bca..ecb767827 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -707,7 +707,6 @@ extern "C" {
#endif
extern int report_error(const char *fmt, ...);
-extern void report_message(const char *msg);
extern const char *get_error_string(void);
extern void set_error_cb(void(*cb)(void));
diff --git a/core/errorhelper.c b/core/errorhelper.c
index 66c01fd21..0f544efb6 100644
--- a/core/errorhelper.c
+++ b/core/errorhelper.c
@@ -45,11 +45,6 @@ int report_error(const char *fmt, ...)
return -1;
}
-void report_message(const char *msg)
-{
- (void)report_error("%s", msg);
-}
-
void set_error_cb(void(*cb)(void)) {
error_cb = cb;
}