Alexandre Julliard : msvcrt: Use float instead of long in the spec file for 32-bit floating point values .

Alexandre Julliard julliard at winehq.org
Tue Aug 31 11:15:59 CDT 2010


Module: wine
Branch: master
Commit: 56ed2930a9c6eaed0d1708b5a935782ba7f967f0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=56ed2930a9c6eaed0d1708b5a935782ba7f967f0

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Aug 31 12:35:19 2010 +0200

msvcrt: Use float instead of long in the spec file for 32-bit floating point values.

---

 dlls/msvcr100/msvcr100.spec |    2 +-
 dlls/msvcr80/msvcr80.spec   |    2 +-
 dlls/msvcr90/msvcr90.spec   |    2 +-
 dlls/msvcrt/msvcrt.spec     |   44 +++++++++++++++++++++---------------------
 4 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec
index 6f3496d..5590d47 100644
--- a/dlls/msvcr100/msvcr100.spec
+++ b/dlls/msvcr100/msvcr100.spec
@@ -729,7 +729,7 @@
 @ stub _heapused
 @ cdecl _heapwalk(ptr) msvcrt._heapwalk
 @ cdecl _hypot(double double) msvcrt._hypot
-@ cdecl _hypotf(double double) msvcrt._hypotf
+@ cdecl _hypotf(float float) msvcrt._hypotf
 @ cdecl _i64toa(int64 ptr long) msvcrt._i64toa
 @ stub _i64toa_s
 @ cdecl _i64tow(int64 ptr long) msvcrt._i64tow
diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec
index 975778d..8f547cf 100644
--- a/dlls/msvcr80/msvcr80.spec
+++ b/dlls/msvcr80/msvcr80.spec
@@ -576,7 +576,7 @@
 @ stub _heapused
 @ cdecl _heapwalk(ptr) msvcrt._heapwalk
 @ cdecl _hypot(double double) msvcrt._hypot
-@ cdecl _hypotf(double double) msvcrt._hypotf
+@ cdecl _hypotf(float float) msvcrt._hypotf
 @ cdecl _i64toa(int64 ptr long) msvcrt._i64toa
 @ stub _i64toa_s
 @ cdecl _i64tow(int64 ptr long) msvcrt._i64tow
diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec
index 4f1c2ae..650d0a7 100644
--- a/dlls/msvcr90/msvcr90.spec
+++ b/dlls/msvcr90/msvcr90.spec
@@ -564,7 +564,7 @@
 @ stub _heapused
 @ cdecl _heapwalk(ptr) msvcrt._heapwalk
 @ cdecl _hypot(double double) msvcrt._hypot
-@ cdecl _hypotf(double double) msvcrt.hypotf
+@ cdecl _hypotf(float float) msvcrt.hypotf
 @ cdecl _i64toa(int64 ptr long) msvcrt._i64toa
 @ stub _i64toa_s
 @ cdecl _i64tow(int64 ptr long) msvcrt._i64tow
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 2c7dcf9..ccd3c6a 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -509,7 +509,7 @@
 @ stub _heapused #(ptr ptr)
 @ cdecl _heapwalk(ptr)
 @ cdecl _hypot(double double)
-@ cdecl _hypotf(double double)
+@ cdecl _hypotf(float float)
 @ cdecl _i64toa(int64 ptr long) ntdll._i64toa
 # stub _i64toa_s
 @ cdecl _i64tow(int64 ptr long) ntdll._i64tow
@@ -833,7 +833,7 @@
 @ cdecl -arch=i386 _safe_fprem()
 @ cdecl -arch=i386 _safe_fprem1()
 @ cdecl _scalb(double long) MSVCRT__scalb
-@ cdecl -arch=x86_64 _scalbf(double long) MSVCRT__scalbf
+@ cdecl -arch=x86_64 _scalbf(float long) MSVCRT__scalbf
 @ varargs _scanf_l(str ptr) MSVCRT__scanf_l
 @ varargs _scanf_s_l(str ptr) MSVCRT__scanf_s_l
 @ varargs _scprintf(str) MSVCRT__scprintf
@@ -1194,15 +1194,15 @@
 @ cdecl abort() MSVCRT_abort
 @ cdecl abs(long) ntdll.abs
 @ cdecl acos(double) MSVCRT_acos
-@ cdecl -arch=x86_64 acosf(double) MSVCRT_acosf
+@ cdecl -arch=x86_64 acosf(float) MSVCRT_acosf
 @ cdecl asctime(ptr) MSVCRT_asctime
 # stub asctime_s
 @ cdecl asin(double) MSVCRT_asin
 @ cdecl atan(double) MSVCRT_atan
 @ cdecl atan2(double double) MSVCRT_atan2
-@ cdecl -arch=x86_64 asinf(double) MSVCRT_asinf
-@ cdecl -arch=x86_64 atanf(double) MSVCRT_atanf
-@ cdecl -arch=x86_64 atan2f(double double) MSVCRT_atan2f
+@ cdecl -arch=x86_64 asinf(float) MSVCRT_asinf
+@ cdecl -arch=x86_64 atanf(float) MSVCRT_atanf
+@ cdecl -arch=x86_64 atan2f(float float) MSVCRT_atan2f
 @ cdecl atexit(ptr) MSVCRT_atexit
 @ cdecl atof(str) MSVCRT_atof
 @ cdecl atoi(str) ntdll.atoi
@@ -1212,20 +1212,20 @@
 @ cdecl btowc(long) MSVCRT_btowc
 @ cdecl calloc(long long) MSVCRT_calloc
 @ cdecl ceil(double) MSVCRT_ceil
-@ cdecl -arch=x86_64 ceilf(double) MSVCRT_ceilf
+@ cdecl -arch=x86_64 ceilf(float) MSVCRT_ceilf
 @ cdecl clearerr(ptr) MSVCRT_clearerr
 # stub clearerr_s
 @ cdecl clock() MSVCRT_clock
 @ cdecl cos(double) MSVCRT_cos
 @ cdecl cosh(double) MSVCRT_cosh
-@ cdecl -arch=x86_64 cosf(double) MSVCRT_cosf
-@ cdecl -arch=x86_64 coshf(double) MSVCRT_coshf
+@ cdecl -arch=x86_64 cosf(float) MSVCRT_cosf
+@ cdecl -arch=x86_64 coshf(float) MSVCRT_coshf
 @ cdecl ctime(ptr) MSVCRT_ctime
 @ cdecl difftime(long long) MSVCRT_difftime
 @ cdecl -ret64 div(long long) MSVCRT_div
 @ cdecl exit(long) MSVCRT_exit
 @ cdecl exp(double) MSVCRT_exp
-@ cdecl -arch=x86_64 expf(double) MSVCRT_expf
+@ cdecl -arch=x86_64 expf(float) MSVCRT_expf
 @ cdecl fabs(double) MSVCRT_fabs
 @ cdecl fclose(ptr) MSVCRT_fclose
 @ cdecl feof(ptr) MSVCRT_feof
@@ -1237,9 +1237,9 @@
 @ cdecl fgetwc(ptr) MSVCRT_fgetwc
 @ cdecl fgetws(ptr long ptr) MSVCRT_fgetws
 @ cdecl floor(double) MSVCRT_floor
-@ cdecl -arch=x86_64 floorf(double) MSVCRT_floorf
+@ cdecl -arch=x86_64 floorf(float) MSVCRT_floorf
 @ cdecl fmod(double double) MSVCRT_fmod
-@ cdecl -arch=x86_64 fmodf(double double) MSVCRT_fmodf
+@ cdecl -arch=x86_64 fmodf(float float) MSVCRT_fmodf
 @ cdecl fopen(str str) MSVCRT_fopen
 @ cdecl fopen_s(ptr str str) MSVCRT_fopen_s
 @ varargs fprintf(ptr str) MSVCRT_fprintf
@@ -1253,7 +1253,7 @@
 @ cdecl freopen(str str ptr) MSVCRT_freopen
 # stub freopen_s
 @ cdecl frexp(double ptr) MSVCRT_frexp
-@ cdecl -arch=x86_64 frexpf(double ptr) MSVCRT_frexpf
+@ cdecl -arch=x86_64 frexpf(float ptr) MSVCRT_frexpf
 @ varargs fscanf(ptr str) MSVCRT_fscanf
 @ varargs fscanf_s(ptr str) MSVCRT_fscanf_s
 @ cdecl fseek(ptr long long) MSVCRT_fseek
@@ -1305,8 +1305,8 @@
 @ cdecl localtime(ptr) MSVCRT_localtime
 @ cdecl log(double) MSVCRT_log
 @ cdecl log10(double) MSVCRT_log10
-@ cdecl -arch=x86_64 logf(double) MSVCRT_logf
-@ cdecl -arch=x86_64 log10f(double) MSVCRT_log10f
+@ cdecl -arch=x86_64 logf(float) MSVCRT_logf
+@ cdecl -arch=x86_64 log10f(float) MSVCRT_log10f
 @ cdecl -i386 longjmp(ptr long) MSVCRT_longjmp
 @ cdecl malloc(long) MSVCRT_malloc
 @ cdecl mblen(ptr long) MSVCRT_mblen
@@ -1327,10 +1327,10 @@
 @ cdecl memset(ptr long long) ntdll.memset
 @ cdecl mktime(ptr) MSVCRT_mktime
 @ cdecl modf(double ptr) MSVCRT_modf
-@ cdecl -arch=x86_64 modff(double ptr) MSVCRT_modff
+@ cdecl -arch=x86_64 modff(float ptr) MSVCRT_modff
 @ cdecl perror(str) MSVCRT_perror
 @ cdecl pow(double double) MSVCRT_pow
-@ cdecl -arch=x86_64 powf(double double) MSVCRT_powf
+@ cdecl -arch=x86_64 powf(float float) MSVCRT_powf
 @ varargs printf(str) MSVCRT_printf
 # stub printf_s
 @ cdecl putc(long ptr) MSVCRT_putc
@@ -1356,12 +1356,12 @@
 @ cdecl signal(long long) MSVCRT_signal
 @ cdecl sin(double) MSVCRT_sin
 @ cdecl sinh(double) MSVCRT_sinh
-@ cdecl -arch=x86_64 sinf(double) MSVCRT_sinf
-@ cdecl -arch=x86_64 sinhf(double) MSVCRT_sinhf
+@ cdecl -arch=x86_64 sinf(float) MSVCRT_sinf
+@ cdecl -arch=x86_64 sinhf(float) MSVCRT_sinhf
 @ varargs sprintf(ptr str) MSVCRT_sprintf
 @ varargs sprintf_s(ptr long str) MSVCRT_sprintf_s
 @ cdecl sqrt(double) MSVCRT_sqrt
-@ cdecl -arch=x86_64 sqrtf(double) MSVCRT_sqrtf
+@ cdecl -arch=x86_64 sqrtf(float) MSVCRT_sqrtf
 @ cdecl srand(long) MSVCRT_srand
 @ varargs sscanf(str str) MSVCRT_sscanf
 @ varargs sscanf_s(str str) MSVCRT_sscanf_s
@@ -1400,8 +1400,8 @@
 @ cdecl system(str) MSVCRT_system
 @ cdecl tan(double) MSVCRT_tan
 @ cdecl tanh(double) MSVCRT_tanh
-@ cdecl -arch=x86_64 tanf(double) MSVCRT_tanf
-@ cdecl -arch=x86_64 tanhf(double) MSVCRT_tanhf
+@ cdecl -arch=x86_64 tanf(float) MSVCRT_tanf
+@ cdecl -arch=x86_64 tanhf(float) MSVCRT_tanhf
 @ cdecl time(ptr) MSVCRT_time
 @ cdecl tmpfile() MSVCRT_tmpfile
 # stub tmpfile_s




More information about the wine-cvs mailing list