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
650ba4df
Commit
650ba4df
authored
Oct 29, 2000
by
Joerg Mayer
Committed by
Alexandre Julliard
Oct 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move inline and static to the beginning of declarations.
parent
a07258d5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
signal_i386.c
dlls/ntdll/signal_i386.c
+2
-2
safearray.c
dlls/oleaut32/safearray.c
+2
-2
winescsi.h
dlls/winaspi/winescsi.h
+1
-1
handle.c
server/handle.c
+2
-2
No files found.
dlls/ntdll/signal_i386.c
View file @
650ba4df
...
@@ -528,7 +528,7 @@ static void restore_context( const CONTEXT *context, SIGCONTEXT *sigcontext )
...
@@ -528,7 +528,7 @@ static void restore_context( const CONTEXT *context, SIGCONTEXT *sigcontext )
*
*
* Set the FPU context from a sigcontext.
* Set the FPU context from a sigcontext.
*/
*/
static
void
inline
save_fpu
(
CONTEXT
*
context
,
const
SIGCONTEXT
*
sigcontext
)
inline
static
void
save_fpu
(
CONTEXT
*
context
,
const
SIGCONTEXT
*
sigcontext
)
{
{
#ifdef FPU_sig
#ifdef FPU_sig
if
(
FPU_sig
(
sigcontext
))
if
(
FPU_sig
(
sigcontext
))
...
@@ -548,7 +548,7 @@ static void inline save_fpu( CONTEXT *context, const SIGCONTEXT *sigcontext )
...
@@ -548,7 +548,7 @@ static void inline save_fpu( CONTEXT *context, const SIGCONTEXT *sigcontext )
*
*
* Restore the FPU context to a sigcontext.
* Restore the FPU context to a sigcontext.
*/
*/
static
void
inline
restore_fpu
(
CONTEXT
*
context
,
const
SIGCONTEXT
*
sigcontext
)
inline
static
void
restore_fpu
(
CONTEXT
*
context
,
const
SIGCONTEXT
*
sigcontext
)
{
{
/* reset the current interrupt status */
/* reset the current interrupt status */
context
->
FloatSave
.
StatusWord
&=
context
->
FloatSave
.
ControlWord
|
0xffffff80
;
context
->
FloatSave
.
StatusWord
&=
context
->
FloatSave
.
ControlWord
|
0xffffff80
;
...
...
dlls/oleaut32/safearray.c
View file @
650ba4df
...
@@ -50,7 +50,7 @@ duplicateData(SAFEARRAY *psa, SAFEARRAY **ppsaOut);
...
@@ -50,7 +50,7 @@ duplicateData(SAFEARRAY *psa, SAFEARRAY **ppsaOut);
A size of zero is defined for the unsupported types. */
A size of zero is defined for the unsupported types. */
#define VARTYPE_NOT_SUPPORTED 0
#define VARTYPE_NOT_SUPPORTED 0
const
static
ULONG
VARTYPE_SIZE
[]
=
static
const
ULONG
VARTYPE_SIZE
[]
=
{
{
/* this is taken from wtypes.h. Only [S]es are supported by the SafeArray */
/* this is taken from wtypes.h. Only [S]es are supported by the SafeArray */
VARTYPE_NOT_SUPPORTED
,
/* VT_EMPTY [V] [P] nothing */
VARTYPE_NOT_SUPPORTED
,
/* VT_EMPTY [V] [P] nothing */
...
@@ -99,7 +99,7 @@ VARTYPE_NOT_SUPPORTED, /* VT_ARRAY [V] SAFEARRAY* */
...
@@ -99,7 +99,7 @@ VARTYPE_NOT_SUPPORTED, /* VT_ARRAY [V] SAFEARRAY* */
VARTYPE_NOT_SUPPORTED
/* VT_BYREF [V] void* for local use */
VARTYPE_NOT_SUPPORTED
/* VT_BYREF [V] void* for local use */
};
};
const
static
int
LAST_VARTYPE
=
sizeof
(
VARTYPE_SIZE
)
/
sizeof
(
ULONG
);
static
const
int
LAST_VARTYPE
=
sizeof
(
VARTYPE_SIZE
)
/
sizeof
(
ULONG
);
/*************************************************************************
/*************************************************************************
...
...
dlls/winaspi/winescsi.h
View file @
650ba4df
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
number on the next write() on this file descriptor */
number on the next write() on this file descriptor */
/* This is what the linux kernel thinks.... */
/* This is what the linux kernel thinks.... */
const
static
unsigned
char
scsi_command_size
[
8
]
=
static
const
unsigned
char
scsi_command_size
[
8
]
=
{
{
6
,
10
,
10
,
12
,
6
,
10
,
10
,
12
,
12
,
12
,
10
,
10
12
,
12
,
10
,
10
...
...
server/handle.c
View file @
650ba4df
...
@@ -53,11 +53,11 @@ static struct handle_table *global_table;
...
@@ -53,11 +53,11 @@ static struct handle_table *global_table;
/* handle to table index conversion */
/* handle to table index conversion */
/* handles are a multiple of 4 under NT; handle 0 is not used */
/* handles are a multiple of 4 under NT; handle 0 is not used */
static
int
inline
index_to_handle
(
int
index
)
inline
static
int
index_to_handle
(
int
index
)
{
{
return
(
index
+
1
)
<<
2
;
return
(
index
+
1
)
<<
2
;
}
}
static
int
inline
handle_to_index
(
int
handle
)
inline
static
int
handle_to_index
(
int
handle
)
{
{
return
(
handle
>>
2
)
-
1
;
return
(
handle
>>
2
)
-
1
;
}
}
...
...
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