Module: wine Branch: master Commit: 3dcedeef2d4f1aedfc6b30ebcfa5546cc986b1e8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3dcedeef2d4f1aedfc6b30ebc...
Author: Jacek Caban jacek@codeweavers.com Date: Wed Jan 29 13:39:12 2020 +0100
msvcrt/tests: Avoid using msvcrt.h header.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msvcrt/tests/misc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/tests/misc.c b/dlls/msvcrt/tests/misc.c index 7e2a7e4069..afc3a9de21 100644 --- a/dlls/msvcrt/tests/misc.c +++ b/dlls/msvcrt/tests/misc.c @@ -22,7 +22,6 @@ #include <errno.h> #include <stdio.h> #include <math.h> -#include "msvcrt.h" #include <process.h>
static inline BOOL almost_equal(double d1, double d2) { @@ -33,14 +32,14 @@ static inline BOOL almost_equal(double d1, double d2) {
static int (__cdecl *prand_s)(unsigned int *); static int (__cdecl *pI10_OUTPUT)(long double, int, int, void*); -static int (__cdecl *pstrerror_s)(char *, MSVCRT_size_t, int); +static int (__cdecl *pstrerror_s)(char *, size_t, int); static int (__cdecl *p_get_doserrno)(int *); static int (__cdecl *p_get_errno)(int *); static int (__cdecl *p_set_doserrno)(int); static int (__cdecl *p_set_errno)(int); static void (__cdecl *p__invalid_parameter)(const wchar_t*, const wchar_t*, const wchar_t*, unsigned int, uintptr_t); -static void (__cdecl *p_qsort_s)(void*, MSVCRT_size_t, MSVCRT_size_t, +static void (__cdecl *p_qsort_s)(void*, size_t, size_t, int (__cdecl*)(void*, const void*, const void*), void*); static double (__cdecl *p_atan)(double); static double (__cdecl *p_exp)(double);