From a9c2017b33e0cbf746feb1140e2672bf9454d358 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Fri, 6 Jul 2007 21:33:51 +0000 Subject: [PATCH] fix some PREfast issues svn path=/trunk/; revision=27436 --- reactos/drivers/input/i8042prt/i8042prt.c | 13 +++++++++++++ reactos/drivers/input/i8042prt/i8042prt.h | 1 + reactos/drivers/input/i8042prt/keyboard.c | 1 + 3 files changed, 15 insertions(+) diff --git a/reactos/drivers/input/i8042prt/i8042prt.c b/reactos/drivers/input/i8042prt/i8042prt.c index 6bbd1b4a348..eda3d9b0a4e 100644 --- a/reactos/drivers/input/i8042prt/i8042prt.c +++ b/reactos/drivers/input/i8042prt/i8042prt.c @@ -29,6 +29,19 @@ UNICODE_STRING I8042RegistryPath; +DRIVER_ADD_DEVICE I8042AddDevice; +static NTSTATUS STDCALL I8042AddDevice(PDRIVER_OBJECT DriverObject, + PDEVICE_OBJECT Pdo); + +DRIVER_STARTIO I8042StartIo; +static VOID STDCALL I8042StartIo(PDEVICE_OBJECT DeviceObject, PIRP Irp); + +DRIVER_DISPATCH I8042CreateDispatch; +static NTSTATUS STDCALL I8042CreateDispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp); + +DRIVER_DISPATCH I8042InternalDeviceControl; +static NTSTATUS STDCALL I8042InternalDeviceControl(PDEVICE_OBJECT DeviceObject, PIRP Irp); + /* FUNCTIONS *****************************************************************/ /* diff --git a/reactos/drivers/input/i8042prt/i8042prt.h b/reactos/drivers/input/i8042prt/i8042prt.h index cdea07e4224..733ba8a3cf8 100644 --- a/reactos/drivers/input/i8042prt/i8042prt.h +++ b/reactos/drivers/input/i8042prt/i8042prt.h @@ -304,6 +304,7 @@ BOOLEAN STDCALL I8042PacketIsr(PDEVICE_EXTENSION DevExt, VOID I8042PacketDpc(PDEVICE_EXTENSION DevExt); +IO_WORKITEM_ROUTINE I8042SendHookWorkItem; VOID STDCALL I8042SendHookWorkItem(PDEVICE_OBJECT DeviceObject, PVOID Context); diff --git a/reactos/drivers/input/i8042prt/keyboard.c b/reactos/drivers/input/i8042prt/keyboard.c index 452471bc85f..ebaf241f9d5 100644 --- a/reactos/drivers/input/i8042prt/keyboard.c +++ b/reactos/drivers/input/i8042prt/keyboard.c @@ -39,6 +39,7 @@ static LOCAL_KEYBOARD_INDICATOR_TRANSLATION IndicatorTranslation = { 3, { {0x45, KEYBOARD_NUM_LOCK_ON}, {0x46, KEYBOARD_SCROLL_LOCK_ON}}}; +IO_WORKITEM_ROUTINE I8042DebugWorkItem; static VOID STDCALL I8042DebugWorkItem(PDEVICE_OBJECT DeviceObject, PVOID Context);