Skip to content

Commit

Permalink
[driver] Add function role type declarations
Browse files Browse the repository at this point in the history
Inhibit build warnings from OACR by adding function role type
declarations where applicable.

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
mcb30 committed Aug 10, 2014
1 parent 6cf101e commit 92ff91e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/driver/sanbootconf.c
Expand Up @@ -70,6 +70,15 @@ static const PWCHAR sanbootconf_device_symlink[] = {
L"\\DosDevices\\iSCSIBoot",
};

/* Forward declarations */
static __drv_dispatchType ( IRP_MJ_CREATE )
__drv_dispatchType ( IRP_MJ_CLOSE )
__drv_dispatchType ( IRP_MJ_CLEANUP )
DRIVER_DISPATCH sanbootconf_dummy_irp;
static __drv_dispatchType ( IRP_MJ_DEVICE_CONTROL )
DRIVER_DISPATCH sanbootconf_iocontrol_irp;
DRIVER_INITIALIZE DriverEntry;

/**
* Load system start options
*
Expand Down

0 comments on commit 92ff91e

Please sign in to comment.