Francois Gouget : msvcrt: Remove CDECL on static functions where not needed.
Alexandre Julliard
julliard at winehq.org
Mon Sep 6 16:15:04 CDT 2021
Module: wine
Branch: master
Commit: a6b1e97eb694731fcbf7238dc4a5bce3c7091d86
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a6b1e97eb694731fcbf7238dc4a5bce3c7091d86
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Sep 3 11:50:32 2021 +0200
msvcrt: Remove CDECL on static functions where not needed.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/locale.c | 4 ++--
dlls/msvcrt/math.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index 5a4a701dfc6..4c0fce194bd 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -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)))
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index efdde8e4afb..7f59a4d20d4 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -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,
More information about the wine-cvs
mailing list