msvcrt: Remove CDECL on static functions where not needed.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-09-03 11:50:32 +02:00 committed by Alexandre Julliard
parent 8b886cdc5d
commit a6b1e97eb6
2 changed files with 4 additions and 4 deletions

View file

@ -556,7 +556,7 @@ void CDECL _unlock_locales(void)
_unlock(_SETLOCALE_LOCK);
}
static void CDECL grab_locinfo(pthreadlocinfo locinfo)
static void grab_locinfo(pthreadlocinfo locinfo)
{
int i;
@ -578,7 +578,7 @@ static void CDECL grab_locinfo(pthreadlocinfo locinfo)
InterlockedIncrement(&locinfo->lc_time_curr->refcount);
}
static void CDECL update_thread_locale(thread_data_t *data)
static void update_thread_locale(thread_data_t *data)
{
if((data->locale_flags & LOCALE_FREE) && ((data->locale_flags & LOCALE_THREAD) ||
(data->locinfo == MSVCRT_locale->locinfo && data->mbcinfo == MSVCRT_locale->mbcinfo)))

View file

@ -90,7 +90,7 @@ static inline double fp_barrier(double x)
return y;
}
static inline double CDECL ret_nan( BOOL update_sw )
static inline double ret_nan( BOOL update_sw )
{
double x = 1.0;
if (!update_sw) return -NAN;
@ -2663,7 +2663,7 @@ double CDECL cos( double x )
}
/* Copied from musl: src/math/expm1.c */
static double CDECL __expm1(double x)
static double __expm1(double x)
{
static const double o_threshold = 7.09782712893383973096e+02,
ln2_hi = 6.93147180369123816490e-01,