Unused code: report_message()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
1c03075f24
commit
b7a6b7c6be
@ -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));
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user