Commit a85b6fe2 authored by Alexandre Julliard's avatar Alexandre Julliard

wnaspi32: Use explicit prototypes for function pointers.

parent 577d08c1
......@@ -270,7 +270,7 @@ ASPI_DebugPrintResult(SRB_ExecSCSICmd *prb)
static DWORD
WNASPI32_DoPosting( SRB_ExecSCSICmd *lpPRB, DWORD status )
{
void (*SRB_PostProc)() = lpPRB->SRB_PostProc;
void (*SRB_PostProc)(SRB_ExecSCSICmd *) = lpPRB->SRB_PostProc;
BYTE SRB_Flags = lpPRB->SRB_Flags;
if( status == SS_PENDING )
{
......
......@@ -150,7 +150,7 @@ typedef struct tagSRB32_ExecSCSICmd {
BYTE SRB_CDBLen; /* 15 CDB Length */
BYTE SRB_HaStat; /* 16 Host Adapter Status */
BYTE SRB_TargStat; /* 17 Target Status */
void (*SRB_PostProc)(); /* 18 Post routine */
void (*SRB_PostProc)( struct tagSRB32_ExecSCSICmd * ); /* 18 Post routine */
void *SRB_Rsvd2; /* 1C Reserved */
BYTE SRB_Rsvd3[16]; /* 20 Reserved for expansion */
BYTE CDBByte[16]; /* 30 SCSI CDB */
......@@ -179,7 +179,7 @@ typedef struct tagSRB32_BusDeviceReset {
BYTE SRB_Rsvd1[12]; /* 0A Reserved for Alignment */
BYTE SRB_HaStat; /* 16 Host Adapter Status */
BYTE SRB_TargStat; /* 17 Target Status */
void (*SRB_PostProc)(); /* 18 Post routine */
void (*SRB_PostProc)( struct tagSRB32_BusDeviceReset * ); /* 18 Post routine */
void *SRB_Rsvd2; /* 1c Reserved */
BYTE SRB_Rsvd3[32]; /* 20 Reserved */
} SRB_BusDeviceReset, *PSRB_BusDeviceReset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment