Inline functions don't need WINE_UNUSED.
This commit is contained in:
parent
d0f10ac268
commit
03250ff6e7
|
@ -273,7 +273,7 @@ typedef struct tagDC
|
||||||
* transformation process is done in floating point internally. This function
|
* transformation process is done in floating point internally. This function
|
||||||
* is then used to round these coordinates to integer values.
|
* 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);
|
return (int)floor(val + 0.5);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
/* Performs a world-to-viewport transformation on the specified point (which
|
||||||
* is in floating point format).
|
* 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;
|
FLOAT x, y;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ DWORD msvcrt_tls_index;
|
||||||
|
|
||||||
static inline BOOL msvcrt_init_tls(void);
|
static inline BOOL msvcrt_init_tls(void);
|
||||||
static inline BOOL msvcrt_free_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
|
* Init
|
||||||
|
|
|
@ -171,13 +171,11 @@ HRESULT WINAPI __CLSIDFromStringA(LPCSTR idstr, CLSID *id);
|
||||||
* Per-thread values are stored in the TEB on offset 0xF80,
|
* Per-thread values are stored in the TEB on offset 0xF80,
|
||||||
* see http://www.microsoft.com/msj/1099/bugslayer/bugslayer1099.htm
|
* see http://www.microsoft.com/msj/1099/bugslayer/bugslayer1099.htm
|
||||||
*/
|
*/
|
||||||
static inline APARTMENT* COM_CurrentInfo(void) WINE_UNUSED;
|
|
||||||
static inline APARTMENT* COM_CurrentInfo(void)
|
static inline APARTMENT* COM_CurrentInfo(void)
|
||||||
{
|
{
|
||||||
APARTMENT* apt = NtCurrentTeb()->ReservedForOle;
|
APARTMENT* apt = NtCurrentTeb()->ReservedForOle;
|
||||||
return apt;
|
return apt;
|
||||||
}
|
}
|
||||||
static inline APARTMENT* COM_CurrentApt(void) WINE_UNUSED;
|
|
||||||
static inline APARTMENT* COM_CurrentApt(void)
|
static inline APARTMENT* COM_CurrentApt(void)
|
||||||
{
|
{
|
||||||
APARTMENT* apt = COM_CurrentInfo();
|
APARTMENT* apt = COM_CurrentInfo();
|
||||||
|
|
|
@ -74,7 +74,7 @@ typedef struct _STACK16FRAME
|
||||||
/* Push bytes on the 16-bit stack of a thread;
|
/* Push bytes on the 16-bit stack of a thread;
|
||||||
* return a segptr to the first pushed byte
|
* 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;
|
STACK16FRAME *frame = CURRENT_STACK16;
|
||||||
memmove( (char*)frame - size, frame, sizeof(*frame) );
|
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 */
|
/* 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;
|
STACK16FRAME *frame = CURRENT_STACK16;
|
||||||
memmove( (char*)frame + size, frame, sizeof(*frame) );
|
memmove( (char*)frame + size, frame, sizeof(*frame) );
|
||||||
|
|
Loading…
Reference in New Issue