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
00e77937
Commit
00e77937
authored
Jul 07, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
janitorial: Put "inline static" at the beginning of a declaration.
parent
32b1a245
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
37 deletions
+37
-37
trackbar.c
dlls/comctl32/trackbar.c
+26
-26
mlang.c
dlls/mlang/tests/mlang.c
+2
-2
msg711.c
dlls/msg711.acm/msg711.c
+1
-1
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+1
-1
driver16.c
dlls/user/driver16.c
+1
-1
drawprim.c
dlls/wined3d/drawprim.c
+2
-2
wintab.c
dlls/winex11.drv/wintab.c
+1
-1
driver.c
dlls/winmm/driver.c
+1
-1
context.c
dlls/wintab32/context.c
+2
-2
No files found.
dlls/comctl32/trackbar.c
View file @
00e77937
...
...
@@ -237,7 +237,7 @@ TRACKBAR_GetAutoPageDirection (TRACKBAR_INFO *infoPtr, POINT clickPoint)
return
0
;
}
static
void
inline
inline
static
void
TRACKBAR_PageDown
(
TRACKBAR_INFO
*
infoPtr
)
{
if
(
infoPtr
->
lPos
==
infoPtr
->
lRangeMax
)
return
;
...
...
@@ -249,7 +249,7 @@ TRACKBAR_PageDown (TRACKBAR_INFO *infoPtr)
}
static
void
inline
inline
static
void
TRACKBAR_PageUp
(
TRACKBAR_INFO
*
infoPtr
)
{
if
(
infoPtr
->
lPos
==
infoPtr
->
lRangeMin
)
return
;
...
...
@@ -260,7 +260,7 @@ TRACKBAR_PageUp (TRACKBAR_INFO *infoPtr)
notify_with_scroll
(
infoPtr
,
TB_PAGEUP
);
}
static
void
inline
TRACKBAR_LineUp
(
TRACKBAR_INFO
*
infoPtr
)
inline
static
void
TRACKBAR_LineUp
(
TRACKBAR_INFO
*
infoPtr
)
{
if
(
infoPtr
->
lPos
==
infoPtr
->
lRangeMin
)
return
;
infoPtr
->
lPos
-=
infoPtr
->
lLineSize
;
...
...
@@ -269,7 +269,7 @@ static void inline TRACKBAR_LineUp(TRACKBAR_INFO *infoPtr)
notify_with_scroll
(
infoPtr
,
TB_LINEUP
);
}
static
void
inline
TRACKBAR_LineDown
(
TRACKBAR_INFO
*
infoPtr
)
inline
static
void
TRACKBAR_LineDown
(
TRACKBAR_INFO
*
infoPtr
)
{
if
(
infoPtr
->
lPos
==
infoPtr
->
lRangeMax
)
return
;
infoPtr
->
lPos
+=
infoPtr
->
lLineSize
;
...
...
@@ -404,7 +404,7 @@ TRACKBAR_InvalidateThumbMove (TRACKBAR_INFO *infoPtr, LONG oldPos, LONG newPos)
TRACKBAR_InvalidateThumb
(
infoPtr
,
newPos
);
}
static
BOOL
inline
inline
static
BOOL
TRACKBAR_HasSelection
(
TRACKBAR_INFO
*
infoPtr
)
{
return
infoPtr
->
lSelMin
!=
infoPtr
->
lSelMax
;
...
...
@@ -757,7 +757,7 @@ TRACKBAR_DrawThumb(TRACKBAR_INFO *infoPtr, HDC hdc, DWORD dwStyle)
}
static
void
inline
inline
static
void
TRACKBAR_ActivateToolTip
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fShow
)
{
TTTOOLINFOW
ti
;
...
...
@@ -1022,7 +1022,7 @@ TRACKBAR_ClearTics (TRACKBAR_INFO *infoPtr, BOOL fRedraw)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_GetChannelRect
(
TRACKBAR_INFO
*
infoPtr
,
LPRECT
lprc
)
{
if
(
lprc
==
NULL
)
return
0
;
...
...
@@ -1036,7 +1036,7 @@ TRACKBAR_GetChannelRect (TRACKBAR_INFO *infoPtr, LPRECT lprc)
}
static
LONG
inline
inline
static
LONG
TRACKBAR_GetNumTics
(
TRACKBAR_INFO
*
infoPtr
)
{
if
(
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_NOTICKS
)
...
...
@@ -1058,7 +1058,7 @@ static int comp_tics(const void *ap, const void *bp)
}
static
LONG
inline
inline
static
LONG
TRACKBAR_GetTic
(
TRACKBAR_INFO
*
infoPtr
,
INT
iTic
)
{
if
((
iTic
<
0
)
||
(
iTic
>=
infoPtr
->
uNumTics
)
||
!
infoPtr
->
tics
)
...
...
@@ -1069,7 +1069,7 @@ TRACKBAR_GetTic (TRACKBAR_INFO *infoPtr, INT iTic)
}
static
LONG
inline
inline
static
LONG
TRACKBAR_GetTicPos
(
TRACKBAR_INFO
*
infoPtr
,
INT
iTic
)
{
LONG
range
,
width
,
pos
,
tic
;
...
...
@@ -1111,7 +1111,7 @@ TRACKBAR_SetBuddy (TRACKBAR_INFO *infoPtr, BOOL fLocation, HWND hwndBuddy)
}
static
LONG
inline
inline
static
LONG
TRACKBAR_SetLineSize
(
TRACKBAR_INFO
*
infoPtr
,
LONG
lLineSize
)
{
LONG
lTemp
=
infoPtr
->
lLineSize
;
...
...
@@ -1122,7 +1122,7 @@ TRACKBAR_SetLineSize (TRACKBAR_INFO *infoPtr, LONG lLineSize)
}
static
LONG
inline
inline
static
LONG
TRACKBAR_SetPageSize
(
TRACKBAR_INFO
*
infoPtr
,
LONG
lPageSize
)
{
LONG
lTemp
=
infoPtr
->
lPageSize
;
...
...
@@ -1133,7 +1133,7 @@ TRACKBAR_SetPageSize (TRACKBAR_INFO *infoPtr, LONG lPageSize)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetPos
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fPosition
,
LONG
lPosition
)
{
LONG
oldPos
=
infoPtr
->
lPos
;
...
...
@@ -1152,7 +1152,7 @@ TRACKBAR_SetPos (TRACKBAR_INFO *infoPtr, BOOL fPosition, LONG lPosition)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetRange
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fRedraw
,
LONG
lRange
)
{
infoPtr
->
lRangeMin
=
(
SHORT
)
LOWORD
(
lRange
);
...
...
@@ -1177,7 +1177,7 @@ TRACKBAR_SetRange (TRACKBAR_INFO *infoPtr, BOOL fRedraw, LONG lRange)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetRangeMax
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fRedraw
,
LONG
lMax
)
{
infoPtr
->
lRangeMax
=
lMax
;
...
...
@@ -1195,7 +1195,7 @@ TRACKBAR_SetRangeMax (TRACKBAR_INFO *infoPtr, BOOL fRedraw, LONG lMax)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetRangeMin
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fRedraw
,
LONG
lMin
)
{
infoPtr
->
lRangeMin
=
lMin
;
...
...
@@ -1213,7 +1213,7 @@ TRACKBAR_SetRangeMin (TRACKBAR_INFO *infoPtr, BOOL fRedraw, LONG lMin)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetSel
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fRedraw
,
LONG
lSel
)
{
if
(
!
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_ENABLESELRANGE
)
...
...
@@ -1234,7 +1234,7 @@ TRACKBAR_SetSel (TRACKBAR_INFO *infoPtr, BOOL fRedraw, LONG lSel)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetSelEnd
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fRedraw
,
LONG
lEnd
)
{
if
(
!
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_ENABLESELRANGE
)
...
...
@@ -1252,7 +1252,7 @@ TRACKBAR_SetSelEnd (TRACKBAR_INFO *infoPtr, BOOL fRedraw, LONG lEnd)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetSelStart
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fRedraw
,
LONG
lStart
)
{
if
(
!
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_ENABLESELRANGE
)
...
...
@@ -1270,7 +1270,7 @@ TRACKBAR_SetSelStart (TRACKBAR_INFO *infoPtr, BOOL fRedraw, LONG lStart)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetThumbLength
(
TRACKBAR_INFO
*
infoPtr
,
UINT
iLength
)
{
if
(
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_FIXEDLENGTH
)
{
...
...
@@ -1283,7 +1283,7 @@ TRACKBAR_SetThumbLength (TRACKBAR_INFO *infoPtr, UINT iLength)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetTic
(
TRACKBAR_INFO
*
infoPtr
,
LONG
lPos
)
{
if
(
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_AUTOTICKS
)
...
...
@@ -1310,7 +1310,7 @@ TRACKBAR_SetTic (TRACKBAR_INFO *infoPtr, LONG lPos)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetTicFreq
(
TRACKBAR_INFO
*
infoPtr
,
WORD
wFreq
)
{
if
(
GetWindowLongW
(
infoPtr
->
hwndSelf
,
GWL_STYLE
)
&
TBS_AUTOTICKS
)
{
...
...
@@ -1323,7 +1323,7 @@ TRACKBAR_SetTicFreq (TRACKBAR_INFO *infoPtr, WORD wFreq)
}
static
INT
inline
inline
static
INT
TRACKBAR_SetTipSide
(
TRACKBAR_INFO
*
infoPtr
,
INT
fLocation
)
{
INT
fTemp
=
infoPtr
->
fLocation
;
...
...
@@ -1334,7 +1334,7 @@ TRACKBAR_SetTipSide (TRACKBAR_INFO *infoPtr, INT fLocation)
}
static
LRESULT
inline
inline
static
LRESULT
TRACKBAR_SetToolTips
(
TRACKBAR_INFO
*
infoPtr
,
HWND
hwndTT
)
{
infoPtr
->
hwndToolTip
=
hwndTT
;
...
...
@@ -1343,7 +1343,7 @@ TRACKBAR_SetToolTips (TRACKBAR_INFO *infoPtr, HWND hwndTT)
}
static
BOOL
inline
inline
static
BOOL
TRACKBAR_SetUnicodeFormat
(
TRACKBAR_INFO
*
infoPtr
,
BOOL
fUnicode
)
{
BOOL
bTemp
=
infoPtr
->
bUnicode
;
...
...
@@ -1702,7 +1702,7 @@ TRACKBAR_KeyDown (TRACKBAR_INFO *infoPtr, INT nVirtKey, DWORD lKeyData)
}
static
BOOL
inline
inline
static
BOOL
TRACKBAR_KeyUp
(
TRACKBAR_INFO
*
infoPtr
,
INT
nVirtKey
,
DWORD
lKeyData
)
{
switch
(
nVirtKey
)
{
...
...
dlls/mlang/tests/mlang.c
View file @
00e77937
...
...
@@ -211,7 +211,7 @@ static void test_multibyte_to_unicode_translations(IMultiLanguage2 *iML2)
ok
(
lenA
==
expected_len
,
"expected lenA %u, got %u
\n
"
,
expected_len
,
lenA
);
}
static
void
inline
cpinfo_cmp
(
MIMECPINFO
*
cpinfo1
,
MIMECPINFO
*
cpinfo2
)
inline
static
void
cpinfo_cmp
(
MIMECPINFO
*
cpinfo1
,
MIMECPINFO
*
cpinfo2
)
{
ok
(
cpinfo1
->
dwFlags
==
cpinfo2
->
dwFlags
,
"dwFlags mismatch: %08lx != %08lx
\n
"
,
cpinfo1
->
dwFlags
,
cpinfo2
->
dwFlags
);
ok
(
cpinfo1
->
uiCodePage
==
cpinfo2
->
uiCodePage
,
"uiCodePage mismatch: %u != %u
\n
"
,
cpinfo1
->
uiCodePage
,
cpinfo2
->
uiCodePage
);
...
...
@@ -487,7 +487,7 @@ static void test_EnumCodePages(IMultiLanguage2 *iML2, DWORD flags)
IEnumCodePage_Release
(
iEnumCP
);
}
static
void
inline
scriptinfo_cmp
(
SCRIPTINFO
*
sinfo1
,
SCRIPTINFO
*
sinfo2
)
inline
static
void
scriptinfo_cmp
(
SCRIPTINFO
*
sinfo1
,
SCRIPTINFO
*
sinfo2
)
{
ok
(
sinfo1
->
ScriptId
==
sinfo2
->
ScriptId
,
"ScriptId mismatch: %d != %d
\n
"
,
sinfo1
->
ScriptId
,
sinfo2
->
ScriptId
);
ok
(
sinfo1
->
uiCodePage
==
sinfo2
->
uiCodePage
,
"uiCodePage mismatch: %u != %u
\n
"
,
sinfo1
->
uiCodePage
,
sinfo2
->
uiCodePage
);
...
...
dlls/msg711.acm/msg711.c
View file @
00e77937
...
...
@@ -391,7 +391,7 @@ static unsigned short _a2l[] = {
0x02B0
,
0x0290
,
0x02F0
,
0x02D0
,
0x0230
,
0x0210
,
0x0270
,
0x0250
,
0x03B0
,
0x0390
,
0x03F0
,
0x03D0
,
0x0330
,
0x0310
,
0x0370
,
0x0350
,
};
static
int
inline
inline
static
int
alaw2linear
(
unsigned
char
a_val
)
{
return
(
short
)
_a2l
[
a_val
];
...
...
dlls/rpcrt4/ndr_marshall.c
View file @
00e77937
...
...
@@ -529,7 +529,7 @@ finish_conf:
/* multiply two numbers together, raising an RPC_S_INVALID_BOUND exception if
* the result overflows 32-bits */
static
ULONG
inline
safe_multiply
(
ULONG
a
,
ULONG
b
)
inline
static
ULONG
safe_multiply
(
ULONG
a
,
ULONG
b
)
{
ULONGLONG
ret
=
(
ULONGLONG
)
a
*
b
;
if
(
ret
>
0xffffffff
)
...
...
dlls/user/driver16.c
View file @
00e77937
...
...
@@ -116,7 +116,7 @@ static LPWINE_DRIVER DRIVER_FindFromHDrvr16(HDRVR16 hDrvr)
/**************************************************************************
* DRIVER_SendMessage [internal]
*/
static
LRESULT
inline
DRIVER_SendMessage
(
LPWINE_DRIVER
lpDrv
,
UINT16
msg
,
inline
static
LRESULT
DRIVER_SendMessage
(
LPWINE_DRIVER
lpDrv
,
UINT16
msg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
WORD
args
[
8
];
...
...
dlls/wined3d/drawprim.c
View file @
00e77937
...
...
@@ -1860,7 +1860,7 @@ void drawStridedSoftwareVS(IWineD3DDevice *iface, WineDirect3DVertexStridedData
#endif
static
inline
void
drawPrimitiveDrawStrided
(
inline
static
void
drawPrimitiveDrawStrided
(
IWineD3DDevice
*
iface
,
BOOL
useVertexShaderFunction
,
BOOL
usePixelShaderFunction
,
...
...
@@ -2011,7 +2011,7 @@ static inline void drawPrimitiveDrawStrided(
glDisable
(
GL_FRAGMENT_PROGRAM_ARB
);
}
void
inline
drawPrimitiveTraceDataLocations
(
WineDirect3DVertexStridedData
*
dataLocations
,
DWORD
fvf
)
{
inline
void
drawPrimitiveTraceDataLocations
(
WineDirect3DVertexStridedData
*
dataLocations
,
DWORD
fvf
)
{
/* Dump out what parts we have supplied */
TRACE
(
"Strided Data (from FVF/VS): %lx
\n
"
,
fvf
);
...
...
dlls/winex11.drv/wintab.c
View file @
00e77937
...
...
@@ -757,7 +757,7 @@ int X11DRV_GetCurrentPacket(LPWTPACKET *packet)
}
in
t
static
inline
CopyTabletData
(
LPVOID
target
,
LPVOID
src
,
INT
size
)
in
line
static
int
CopyTabletData
(
LPVOID
target
,
LPVOID
src
,
INT
size
)
{
/*
* It is valid to call CopyTabletData with NULL.
...
...
dlls/winmm/driver.c
View file @
00e77937
...
...
@@ -131,7 +131,7 @@ LPWINE_DRIVER DRIVER_FindFromHDrvr(HDRVR hDrvr)
/**************************************************************************
* DRIVER_SendMessage [internal]
*/
static
LRESULT
inline
DRIVER_SendMessage
(
LPWINE_DRIVER
lpDrv
,
UINT
msg
,
inline
static
LRESULT
DRIVER_SendMessage
(
LPWINE_DRIVER
lpDrv
,
UINT
msg
,
LPARAM
lParam1
,
LPARAM
lParam2
)
{
LRESULT
ret
=
0
;
...
...
dlls/wintab32/context.c
View file @
00e77937
...
...
@@ -236,12 +236,12 @@ LPOPENCONTEXT AddPacketToContextQueue(LPWTPACKET packet, HWND hwnd)
/*
* Flushes all packets from the queue.
*/
static
void
inline
TABLET_FlushQueue
(
LPOPENCONTEXT
context
)
inline
static
void
TABLET_FlushQueue
(
LPOPENCONTEXT
context
)
{
context
->
PacketsQueued
=
0
;
}
in
t
static
inline
CopyTabletData
(
LPVOID
target
,
LPVOID
src
,
INT
size
)
in
line
static
int
CopyTabletData
(
LPVOID
target
,
LPVOID
src
,
INT
size
)
{
memcpy
(
target
,
src
,
size
);
return
(
size
);
...
...
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