aboutsummaryrefslogtreecommitdiffstats
path: root/api/logger.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-04 15:45:27 +0100
committerSimon Rozman <simon@rozman.si>2020-11-04 16:46:24 +0100
commitc26b16e06f1e6e43427056e8107927a6fd94dd2b (patch)
treea3da1cd233ba4e846e2acd3ff47be81841047f96 /api/logger.c
parentapi: upgrade nci.lib and wintun-inf.h building (diff)
downloadwintun-c26b16e06f1e6e43427056e8107927a6fd94dd2b.tar.xz
wintun-c26b16e06f1e6e43427056e8107927a6fd94dd2b.zip
api: CALLBACK_FUNC -> CALLBACK
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/logger.c')
-rw-r--r--api/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logger.c b/api/logger.c
index d86b7a8..2813db7 100644
--- a/api/logger.c
+++ b/api/logger.c
@@ -15,10 +15,10 @@ NopLogger(_In_ WINTUN_LOGGER_LEVEL Level, _In_z_ const WCHAR *LogLine)
return TRUE;
}
-WINTUN_LOGGER_CALLBACK_FUNC Logger = NopLogger;
+WINTUN_LOGGER_CALLBACK Logger = NopLogger;
void CALLBACK
-WintunSetLogger(_In_ WINTUN_LOGGER_CALLBACK_FUNC NewLogger)
+WintunSetLogger(_In_ WINTUN_LOGGER_CALLBACK NewLogger)
{
if (!NewLogger)
NewLogger = NopLogger;