From 2fa408a92f88078e367f1d3ac3db0a5a270cb1b9 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 9 Apr 2019 14:29:21 +0200 Subject: [PATCH] Rename TunDriverUnload() => TunUnload() Signed-off-by: Simon Rozman --- wintun.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wintun.c b/wintun.c index 49acfb6..f6b9e45 100644 --- a/wintun.c +++ b/wintun.c @@ -1135,9 +1135,9 @@ cleanup_ctx: return status; } -static MINIPORT_UNLOAD TunDriverUnload; +static MINIPORT_UNLOAD TunUnload; _Use_decl_annotations_ -static VOID TunDriverUnload(PDRIVER_OBJECT DriverObject) +static VOID TunUnload(PDRIVER_OBJECT DriverObject) { NdisMDeregisterMiniportDriver(NdisMiniportDriverHandle); } @@ -1403,7 +1403,7 @@ NTSTATUS DriverEntry(DRIVER_OBJECT *DriverObject, UNICODE_STRING *RegistryPath) .SetOptionsHandler = TunSetOptions, .InitializeHandlerEx = TunInitializeEx, .HaltHandlerEx = TunHaltEx, - .UnloadHandler = TunDriverUnload, + .UnloadHandler = TunUnload, .PauseHandler = TunPause, .RestartHandler = TunRestart, .OidRequestHandler = TunOidRequest,