Author: cwittich
Date: Sat Jul 7 01:33:51 2007
New Revision: 27436
URL:
http://svn.reactos.org/svn/reactos?rev=27436&view=rev
Log:
fix some PREfast issues
Modified:
trunk/reactos/drivers/input/i8042prt/i8042prt.c
trunk/reactos/drivers/input/i8042prt/i8042prt.h
trunk/reactos/drivers/input/i8042prt/keyboard.c
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/i8042prt.c (original)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.c Sat Jul 7 01:33:51 2007
@@ -28,6 +28,19 @@
#define I8042_MAX_UPWARDS_STACK 5
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 *****************************************************************/
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/i8042prt.h (original)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.h Sat Jul 7 01:33:51 2007
@@ -304,6 +304,7 @@
VOID I8042PacketDpc(PDEVICE_EXTENSION DevExt);
+IO_WORKITEM_ROUTINE I8042SendHookWorkItem;
VOID STDCALL I8042SendHookWorkItem(PDEVICE_OBJECT DeviceObject,
PVOID Context);
Modified: trunk/reactos/drivers/input/i8042prt/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/key…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/keyboard.c (original)
+++ trunk/reactos/drivers/input/i8042prt/keyboard.c Sat Jul 7 01:33:51 2007
@@ -39,6 +39,7 @@
{0x45, KEYBOARD_NUM_LOCK_ON},
{0x46, KEYBOARD_SCROLL_LOCK_ON}}};
+IO_WORKITEM_ROUTINE I8042DebugWorkItem;
static VOID STDCALL I8042DebugWorkItem(PDEVICE_OBJECT DeviceObject,
PVOID Context);