mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 00:34:06 +00:00
Move inline and static to the beginning of declarations.
This commit is contained in:
parent
a07258d581
commit
650ba4df23
|
@ -528,7 +528,7 @@ static void restore_context( const CONTEXT *context, SIGCONTEXT *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
|
||||
if (FPU_sig(sigcontext))
|
||||
|
@ -548,7 +548,7 @@ static void inline save_fpu( CONTEXT *context, const SIGCONTEXT *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 */
|
||||
context->FloatSave.StatusWord &= context->FloatSave.ControlWord | 0xffffff80;
|
||||
|
|
|
@ -50,7 +50,7 @@ duplicateData(SAFEARRAY *psa, SAFEARRAY **ppsaOut);
|
|||
A size of zero is defined for the unsupported types. */
|
||||
|
||||
#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 */
|
||||
VARTYPE_NOT_SUPPORTED, /* VT_EMPTY [V] [P] nothing */
|
||||
|
@ -99,7 +99,7 @@ VARTYPE_NOT_SUPPORTED, /* VT_ARRAY [V] SAFEARRAY* */
|
|||
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);
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
number on the next write() on this file descriptor */
|
||||
|
||||
/* 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,
|
||||
12, 12, 10, 10
|
||||
|
|
|
@ -53,11 +53,11 @@ static struct handle_table *global_table;
|
|||
/* handle to table index conversion */
|
||||
|
||||
/* 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;
|
||||
}
|
||||
static int inline handle_to_index( int handle )
|
||||
inline static int handle_to_index( int handle )
|
||||
{
|
||||
return (handle >> 2) - 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue