summaryrefslogtreecommitdiffstats
path: root/src/loader/loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/loader.h')
-rw-r--r--src/loader/loader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/loader/loader.h b/src/loader/loader.h
index 779ec44b75d..d063ab3f6c4 100644
--- a/src/loader/loader.h
+++ b/src/loader/loader.h
@@ -74,8 +74,9 @@ loader_get_user_preferred_fd(int default_fd, bool *different_device);
#define _LOADER_INFO 2 /* just useful info */
#define _LOADER_DEBUG 3 /* useful info for debugging */
+typedef void loader_logger(int level, const char *fmt, ...);
void
-loader_set_logger(void (*logger)(int level, const char *fmt, ...));
+loader_set_logger(loader_logger *logger);
char *
loader_get_extensions_name(const char *driver_name);