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
c293acac
Commit
c293acac
authored
Jul 25, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Mark function that are only called from assembly as hidden.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aea6d237
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
except_i386.c
dlls/msvcrt/except_i386.c
+3
-3
misc.c
dlls/msvcrt/misc.c
+1
-1
No files found.
dlls/msvcrt/except_i386.c
View file @
c293acac
...
...
@@ -135,7 +135,7 @@ typedef struct
DWORD
CDECL
cxx_frame_handler
(
PEXCEPTION_RECORD
rec
,
cxx_exception_frame
*
frame
,
PCONTEXT
context
,
EXCEPTION_REGISTRATION_RECORD
**
dispatch
,
const
cxx_function_descr
*
descr
,
EXCEPTION_REGISTRATION_RECORD
*
nested_frame
,
int
nested_trylevel
);
EXCEPTION_REGISTRATION_RECORD
*
nested_frame
,
int
nested_trylevel
)
DECLSPEC_HIDDEN
;
/* call a function with a given ebp */
static
inline
void
*
call_ebp_func
(
void
*
func
,
void
*
ebp
)
...
...
@@ -1054,7 +1054,7 @@ __ASM_GLOBAL_FUNC( longjmp_set_regs,
* _setjmp (MSVCRT.@)
*/
DEFINE_SETJMP_ENTRYPOINT
(
MSVCRT__setjmp
)
int
CDECL
__regs_MSVCRT__setjmp
(
struct
MSVCRT___JUMP_BUFFER
*
jmp
)
int
CDECL
DECLSPEC_HIDDEN
__regs_MSVCRT__setjmp
(
struct
MSVCRT___JUMP_BUFFER
*
jmp
)
{
jmp
->
Registration
=
(
unsigned
long
)
NtCurrentTeb
()
->
Tib
.
ExceptionList
;
if
(
jmp
->
Registration
==
~
0UL
)
...
...
@@ -1071,7 +1071,7 @@ int CDECL __regs_MSVCRT__setjmp(struct MSVCRT___JUMP_BUFFER *jmp)
* _setjmp3 (MSVCRT.@)
*/
DEFINE_SETJMP_ENTRYPOINT
(
MSVCRT__setjmp3
)
int
CDECL
__regs_MSVCRT__setjmp3
(
struct
MSVCRT___JUMP_BUFFER
*
jmp
,
int
nb_args
,
...)
int
CDECL
DECLSPEC_HIDDEN
__regs_MSVCRT__setjmp3
(
struct
MSVCRT___JUMP_BUFFER
*
jmp
,
int
nb_args
,
...)
{
jmp
->
Cookie
=
MSVCRT_JMP_MAGIC
;
jmp
->
UnwindFunc
=
0
;
...
...
dlls/msvcrt/misc.c
View file @
c293acac
...
...
@@ -237,7 +237,7 @@ __ASM_GLOBAL_FUNC(_chkesp,
__ASM_CFI
(
".cfi_same_value %ebp
\n\t
"
)
"ret"
)
void
CDECL
MSVCRT_chkesp_fail
(
void
)
void
CDECL
DECLSPEC_HIDDEN
MSVCRT_chkesp_fail
(
void
)
{
ERR
(
"Stack pointer incorrect after last function call - Bad prototype/spec entry?
\n
"
);
DebugBreak
();
...
...
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