https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e7574ee5e8b92d969ed7d…
commit e7574ee5e8b92d969ed7db5a9fc50c81a63b28e3
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Sat Oct 9 16:00:24 2021 -0400
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Wed Oct 27 19:27:33 2021 -0400
[USBPORT] Don't use NTAPI for variadic function.
Powered by clang-cl.
---
drivers/usb/usbport/debug.c | 1 -
drivers/usb/usbport/usbport.h | 1 -
sdk/include/reactos/drivers/usbport/usbmport.h | 2 +-
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/usb/usbport/debug.c b/drivers/usb/usbport/debug.c
index 1d2662d5e33..4e04bfabcd7 100644
--- a/drivers/usb/usbport/debug.c
+++ b/drivers/usb/usbport/debug.c
@@ -16,7 +16,6 @@
#include "usbdebug.h"
ULONG
-NTAPI
USBPORT_DbgPrint(IN PVOID MiniPortExtension,
IN ULONG Level,
IN PCH Format,
diff --git a/drivers/usb/usbport/usbport.h b/drivers/usb/usbport/usbport.h
index 286ea9d5c82..04936bfe304 100644
--- a/drivers/usb/usbport/usbport.h
+++ b/drivers/usb/usbport/usbport.h
@@ -744,7 +744,6 @@ USBPORT_DoneTransfer(
/* debug.c */
ULONG
-NTAPI
USBPORT_DbgPrint(
IN PVOID MiniPortExtension,
IN ULONG Level,
diff --git a/sdk/include/reactos/drivers/usbport/usbmport.h
b/sdk/include/reactos/drivers/usbport/usbmport.h
index bdb0dd9ccac..60cc85cc474 100644
--- a/sdk/include/reactos/drivers/usbport/usbmport.h
+++ b/sdk/include/reactos/drivers/usbport/usbmport.h
@@ -396,7 +396,7 @@ typedef MPSTATUS
/* Port functions */
typedef ULONG
-(NTAPI *PUSBPORT_DBG_PRINT)(
+(*PUSBPORT_DBG_PRINT)(
PVOID,
ULONG,
PCH,