From f974855d7e5cb39706abecd30a97ee2db67b3ed9 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Fri, 6 Jul 2007 21:50:48 +0000 Subject: [PATCH] fix some PREfast warnings svn path=/trunk/; revision=27438 --- reactos/drivers/bus/pci/pci.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/reactos/drivers/bus/pci/pci.c b/reactos/drivers/bus/pci/pci.c index 6bb2e9f7e54..03d70dd893f 100644 --- a/reactos/drivers/bus/pci/pci.c +++ b/reactos/drivers/bus/pci/pci.c @@ -15,6 +15,18 @@ #endif #include +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