Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
03250ff6
Commit
03250ff6
authored
Sep 01, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inline functions don't need WINE_UNUSED.
parent
d0f10ac2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
gdi_private.h
dlls/gdi/gdi_private.h
+1
-1
path.c
dlls/gdi/path.c
+1
-1
main.c
dlls/msvcrt/main.c
+1
-1
compobj_private.h
dlls/ole32/compobj_private.h
+0
-2
stackframe.h
include/stackframe.h
+2
-2
No files found.
dlls/gdi/gdi_private.h
View file @
03250ff6
...
...
@@ -273,7 +273,7 @@ typedef struct tagDC
* transformation process is done in floating point internally. This function
* is then used to round these coordinates to integer values.
*/
static
inline
INT
WINE_UNUSED
GDI_ROUND
(
FLOAT
val
)
static
inline
INT
GDI_ROUND
(
FLOAT
val
)
{
return
(
int
)
floor
(
val
+
0
.
5
);
}
...
...
dlls/gdi/path.c
View file @
03250ff6
...
...
@@ -106,7 +106,7 @@ static BOOL PATH_CheckCorners(DC *dc, POINT corners[], INT x1, INT y1, INT x2, I
/* Performs a world-to-viewport transformation on the specified point (which
* is in floating point format).
*/
static
inline
void
WINE_UNUSED
INTERNAL_LPTODP_FLOAT
(
DC
*
dc
,
FLOAT_POINT
*
point
)
static
inline
void
INTERNAL_LPTODP_FLOAT
(
DC
*
dc
,
FLOAT_POINT
*
point
)
{
FLOAT
x
,
y
;
...
...
dlls/msvcrt/main.c
View file @
03250ff6
...
...
@@ -28,7 +28,7 @@ DWORD msvcrt_tls_index;
static
inline
BOOL
msvcrt_init_tls
(
void
);
static
inline
BOOL
msvcrt_free_tls
(
void
);
const
char
*
msvcrt_get_reason
(
DWORD
reason
)
WINE_UNUSED
;
const
char
*
msvcrt_get_reason
(
DWORD
reason
);
/*********************************************************************
* Init
...
...
dlls/ole32/compobj_private.h
View file @
03250ff6
...
...
@@ -171,13 +171,11 @@ HRESULT WINAPI __CLSIDFromStringA(LPCSTR idstr, CLSID *id);
* Per-thread values are stored in the TEB on offset 0xF80,
* see http://www.microsoft.com/msj/1099/bugslayer/bugslayer1099.htm
*/
static
inline
APARTMENT
*
COM_CurrentInfo
(
void
)
WINE_UNUSED
;
static
inline
APARTMENT
*
COM_CurrentInfo
(
void
)
{
APARTMENT
*
apt
=
NtCurrentTeb
()
->
ReservedForOle
;
return
apt
;
}
static
inline
APARTMENT
*
COM_CurrentApt
(
void
)
WINE_UNUSED
;
static
inline
APARTMENT
*
COM_CurrentApt
(
void
)
{
APARTMENT
*
apt
=
COM_CurrentInfo
();
...
...
include/stackframe.h
View file @
03250ff6
...
...
@@ -74,7 +74,7 @@ typedef struct _STACK16FRAME
/* Push bytes on the 16-bit stack of a thread;
* return a segptr to the first pushed byte
*/
static
inline
SEGPTR
WINE_UNUSED
stack16_push
(
int
size
)
static
inline
SEGPTR
stack16_push
(
int
size
)
{
STACK16FRAME
*
frame
=
CURRENT_STACK16
;
memmove
(
(
char
*
)
frame
-
size
,
frame
,
sizeof
(
*
frame
)
);
...
...
@@ -83,7 +83,7 @@ static inline SEGPTR WINE_UNUSED stack16_push( int size )
}
/* Pop bytes from the 16-bit stack of a thread */
static
inline
void
WINE_UNUSED
stack16_pop
(
int
size
)
static
inline
void
stack16_pop
(
int
size
)
{
STACK16FRAME
*
frame
=
CURRENT_STACK16
;
memmove
(
(
char
*
)
frame
+
size
,
frame
,
sizeof
(
*
frame
)
);
...
...
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