summaryrefslogtreecommitdiffstats
path: root/core/errorhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/errorhelper.c')
-rw-r--r--core/errorhelper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/errorhelper.c b/core/errorhelper.c
index cad595912..b77f70186 100644
--- a/core/errorhelper.c
+++ b/core/errorhelper.c
@@ -26,6 +26,7 @@ int report_error(const char *fmt, ...)
return -1;
}
-void set_error_cb(void(*cb)(char *)) {
+void set_error_cb(void(*cb)(char *))
+{
error_cb = cb;
}