Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a85b6fe2
Commit
a85b6fe2
authored
Oct 02, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wnaspi32: Use explicit prototypes for function pointers.
parent
577d08c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
winaspi32.c
dlls/wnaspi32/winaspi32.c
+1
-1
wnaspi32.h
include/wnaspi32.h
+2
-2
No files found.
dlls/wnaspi32/winaspi32.c
View file @
a85b6fe2
...
@@ -270,7 +270,7 @@ ASPI_DebugPrintResult(SRB_ExecSCSICmd *prb)
...
@@ -270,7 +270,7 @@ ASPI_DebugPrintResult(SRB_ExecSCSICmd *prb)
static
DWORD
static
DWORD
WNASPI32_DoPosting
(
SRB_ExecSCSICmd
*
lpPRB
,
DWORD
status
)
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
;
BYTE
SRB_Flags
=
lpPRB
->
SRB_Flags
;
if
(
status
==
SS_PENDING
)
if
(
status
==
SS_PENDING
)
{
{
...
...
include/wnaspi32.h
View file @
a85b6fe2
...
@@ -150,7 +150,7 @@ typedef struct tagSRB32_ExecSCSICmd {
...
@@ -150,7 +150,7 @@ typedef struct tagSRB32_ExecSCSICmd {
BYTE
SRB_CDBLen
;
/* 15 CDB Length */
BYTE
SRB_CDBLen
;
/* 15 CDB Length */
BYTE
SRB_HaStat
;
/* 16 Host Adapter Status */
BYTE
SRB_HaStat
;
/* 16 Host Adapter Status */
BYTE
SRB_TargStat
;
/* 17 Target 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 */
void
*
SRB_Rsvd2
;
/* 1C Reserved */
BYTE
SRB_Rsvd3
[
16
];
/* 20 Reserved for expansion */
BYTE
SRB_Rsvd3
[
16
];
/* 20 Reserved for expansion */
BYTE
CDBByte
[
16
];
/* 30 SCSI CDB */
BYTE
CDBByte
[
16
];
/* 30 SCSI CDB */
...
@@ -179,7 +179,7 @@ typedef struct tagSRB32_BusDeviceReset {
...
@@ -179,7 +179,7 @@ typedef struct tagSRB32_BusDeviceReset {
BYTE
SRB_Rsvd1
[
12
];
/* 0A Reserved for Alignment */
BYTE
SRB_Rsvd1
[
12
];
/* 0A Reserved for Alignment */
BYTE
SRB_HaStat
;
/* 16 Host Adapter Status */
BYTE
SRB_HaStat
;
/* 16 Host Adapter Status */
BYTE
SRB_TargStat
;
/* 17 Target 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 */
void
*
SRB_Rsvd2
;
/* 1c Reserved */
BYTE
SRB_Rsvd3
[
32
];
/* 20 Reserved */
BYTE
SRB_Rsvd3
[
32
];
/* 20 Reserved */
}
SRB_BusDeviceReset
,
*
PSRB_BusDeviceReset
;
}
SRB_BusDeviceReset
,
*
PSRB_BusDeviceReset
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment