fix some PREfast warnings

svn path=/trunk/; revision=30618
This commit is contained in:
Christoph von Wittich 2007-11-21 11:09:47 +00:00
parent b72f3e3943
commit aeab4b393d
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,7 @@
#define INITGUID
#include "pciidex.h"
static DRIVER_DISPATCH PciIdeXForwardOrIgnore;
static NTSTATUS NTAPI
PciIdeXForwardOrIgnore(
IN PDEVICE_OBJECT DeviceObject,
@ -43,6 +44,7 @@ PciIdeXForwardOrIgnore(
}
}
static DRIVER_DISPATCH PciIdeXPnpDispatch;
static NTSTATUS NTAPI
PciIdeXPnpDispatch(
IN PDEVICE_OBJECT DeviceObject,

View file

@ -40,6 +40,7 @@ typedef struct _PDO_DEVICE_EXTENSION
/* fdo.c */
DRIVER_ADD_DEVICE PciIdeXAddDevice;
NTSTATUS NTAPI
PciIdeXAddDevice(
IN PDRIVER_OBJECT DriverObject,
@ -52,6 +53,7 @@ PciIdeXFdoPnpDispatch(
/* misc.c */
IO_COMPLETION_ROUTINE PciIdeXGenericCompletion;
NTSTATUS NTAPI
PciIdeXGenericCompletion(
IN PDEVICE_OBJECT DeviceObject,