update code style

This commit is contained in:
vcaesar 2018-11-12 16:39:16 -04:00
parent 6bfbcf5672
commit 602a6294ff
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ int add_event(char *key_event) {
// (uint16_t *)
cevent = key_event;
// Set the logger callback for library output.
hookSetlogger(&loggerProc);
hook_set_logger(&loggerProc);
// Set the event callback for IOhook events.
hook_set_dispatch_proc(&dispatch_proc);

View File

@ -50,7 +50,7 @@ static bool default_logger(unsigned int level, const char *format, ...) {
logger_t logger = &default_logger;
IOHOOK_API void hookSetlogger(logger_t logger_proc) {
IOHOOK_API void hook_set_logger(logger_t logger_proc) {
if (logger_proc == NULL) {
logger = &default_logger;
}