[ros-diffs] [cwittich] 27438: fix some PREfast warnings

cwittich at svn.reactos.org cwittich at svn.reactos.org
Fri Jul 6 23:50:49 CEST 2007


Author: cwittich
Date: Sat Jul  7 01:50:48 2007
New Revision: 27438

URL: http://svn.reactos.org/svn/reactos?rev=27438&view=rev
Log:
fix some PREfast warnings

Modified:
    trunk/reactos/drivers/bus/pci/pci.c

Modified: trunk/reactos/drivers/bus/pci/pci.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/pci.c?rev=27438&r1=27437&r2=27438&view=diff
==============================================================================
--- trunk/reactos/drivers/bus/pci/pci.c (original)
+++ trunk/reactos/drivers/bus/pci/pci.c Sat Jul  7 01:50:48 2007
@@ -14,6 +14,18 @@
 #define NDEBUG
 #endif
 #include <debug.h>
+
+static DRIVER_DISPATCH PciDispatchDeviceControl;
+static NTSTATUS STDCALL PciDispatchDeviceControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp);
+
+static DRIVER_ADD_DEVICE PciAddDevice; 
+static NTSTATUS STDCALL PciAddDevice(IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT PhysicalDeviceObject);
+
+static DRIVER_DISPATCH PciPowerControl;
+static NTSTATUS STDCALL PciPowerControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp);
+
+static DRIVER_DISPATCH PciPnpControl;
+static NTSTATUS STDCALL PciPnpControl(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp);
 
 
 #ifdef  ALLOC_PRAGMA




More information about the Ros-diffs mailing list