Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fbc9110d
Commit
fbc9110d
authored
Nov 30, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use _beginthread_start_routine_t from public header.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
772f0331
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
console.c
dlls/msvcrt/console.c
+2
-2
msvcrt.h
dlls/msvcrt/msvcrt.h
+0
-2
thread.c
dlls/msvcrt/thread.c
+4
-3
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+4
-4
No files found.
dlls/msvcrt/console.c
View file @
fbc9110d
...
...
@@ -564,7 +564,7 @@ int WINAPIV _cwprintf(const wchar_t* format, ...)
/*********************************************************************
* __conio_common_vcprintf (UCRTBASE.@)
*/
int
CDECL
MSVCRT
__conio_common_vcprintf
(
unsigned
__int64
options
,
const
char
*
format
,
int
CDECL
__conio_common_vcprintf
(
unsigned
__int64
options
,
const
char
*
format
,
_locale_t
locale
,
__ms_va_list
valist
)
{
if
(
options
&
~
UCRTBASE_PRINTF_MASK
)
...
...
@@ -576,7 +576,7 @@ int CDECL MSVCRT__conio_common_vcprintf(unsigned __int64 options, const char* fo
/*********************************************************************
* __conio_common_vcwprintf (UCRTBASE.@)
*/
int
CDECL
MSVCRT
__conio_common_vcwprintf
(
unsigned
__int64
options
,
const
wchar_t
*
format
,
int
CDECL
__conio_common_vcwprintf
(
unsigned
__int64
options
,
const
wchar_t
*
format
,
_locale_t
locale
,
__ms_va_list
valist
)
{
if
(
options
&
~
UCRTBASE_PRINTF_MASK
)
...
...
dlls/msvcrt/msvcrt.h
View file @
fbc9110d
...
...
@@ -35,8 +35,6 @@ typedef void (__cdecl *unexpected_function)(void);
typedef
void
(
__cdecl
*
_se_translator_function
)(
unsigned
int
code
,
struct
_EXCEPTION_POINTERS
*
info
);
void
__cdecl
terminate
(
void
);
typedef
void
(
__cdecl
*
MSVCRT__beginthread_start_routine_t
)(
void
*
);
typedef
unsigned
int
(
__stdcall
*
MSVCRT__beginthreadex_start_routine_t
)(
void
*
);
typedef
int
(
__cdecl
*
MSVCRT__onexit_t
)(
void
);
typedef
void
(
__cdecl
*
MSVCRT_invalid_parameter_handler
)(
const
wchar_t
*
,
const
wchar_t
*
,
const
wchar_t
*
,
unsigned
,
uintptr_t
);
typedef
void
(
__cdecl
*
MSVCRT_purecall_handler
)(
void
);
...
...
dlls/msvcrt/thread.c
View file @
fbc9110d
...
...
@@ -17,6 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <process.h>
#include "msvcrt.h"
#include "wine/debug.h"
...
...
@@ -26,7 +27,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
typedef
struct
{
HANDLE
thread
;
MSVCRT_
_beginthread_start_routine_t
start_address
;
_beginthread_start_routine_t
start_address
;
void
*
arglist
;
}
_beginthread_trampoline_t
;
...
...
@@ -109,7 +110,7 @@ static DWORD CALLBACK _beginthread_trampoline(LPVOID arg)
* _beginthread (MSVCRT.@)
*/
uintptr_t
CDECL
_beginthread
(
MSVCRT_
_beginthread_start_routine_t
start_address
,
/* [in] Start address of routine that begins execution of new thread */
_beginthread_start_routine_t
start_address
,
/* [in] Start address of routine that begins execution of new thread */
unsigned
int
stack_size
,
/* [in] Stack size for new thread or 0 */
void
*
arglist
)
/* [in] Argument list to be passed to new thread or NULL */
{
...
...
@@ -151,7 +152,7 @@ uintptr_t CDECL _beginthread(
uintptr_t
CDECL
_beginthreadex
(
void
*
security
,
/* [in] Security descriptor for new thread; must be NULL for Windows 9x applications */
unsigned
int
stack_size
,
/* [in] Stack size for new thread or 0 */
MSVCRT_
_beginthreadex_start_routine_t
start_address
,
/* [in] Start address of routine that begins execution of new thread */
_beginthreadex_start_routine_t
start_address
,
/* [in] Start address of routine that begins execution of new thread */
void
*
arglist
,
/* [in] Argument list to be passed to new thread or NULL */
unsigned
int
initflag
,
/* [in] Initial state of new thread (0 for running or CREATE_SUSPEND for suspended) */
unsigned
int
*
thrdaddr
)
/* [out] Points to a 32-bit variable that receives the thread identifier */
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
fbc9110d
...
...
@@ -73,11 +73,11 @@
@ cdecl ___mb_cur_max_func() MSVCRT____mb_cur_max_func
@ cdecl ___mb_cur_max_l_func(ptr)
@ cdecl __acrt_iob_func(long) MSVCRT___acrt_iob_func
@ cdecl __conio_common_vcprintf(int64 str ptr ptr)
MSVCRT__conio_common_vcprintf
@ cdecl __conio_common_vcprintf(int64 str ptr ptr)
@ stub __conio_common_vcprintf_p
@ stub __conio_common_vcprintf_s
@ stub __conio_common_vcscanf
@ cdecl __conio_common_vcwprintf(int64 wstr ptr ptr)
MSVCRT
__conio_common_vcwprintf
@ cdecl __conio_common_vcwprintf(int64 wstr ptr ptr) __conio_common_vcwprintf
@ stub __conio_common_vcwprintf_p
@ stub __conio_common_vcwprintf_s
@ stub __conio_common_vcwscanf
...
...
@@ -759,11 +759,11 @@
@ cdecl _o____lc_locale_name_func() ___lc_locale_name_func
@ cdecl _o____mb_cur_max_func() MSVCRT____mb_cur_max_func
@ cdecl _o___acrt_iob_func(long) MSVCRT___acrt_iob_func
@ cdecl _o___conio_common_vcprintf(int64 str ptr ptr)
MSVCRT
__conio_common_vcprintf
@ cdecl _o___conio_common_vcprintf(int64 str ptr ptr) __conio_common_vcprintf
@ stub _o___conio_common_vcprintf_p
@ stub _o___conio_common_vcprintf_s
@ stub _o___conio_common_vcscanf
@ cdecl _o___conio_common_vcwprintf(int64 wstr ptr ptr)
MSVCRT
__conio_common_vcwprintf
@ cdecl _o___conio_common_vcwprintf(int64 wstr ptr ptr) __conio_common_vcwprintf
@ stub _o___conio_common_vcwprintf_p
@ stub _o___conio_common_vcwprintf_s
@ stub _o___conio_common_vcwscanf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment