Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0f305929
Commit
0f305929
authored
Dec 13, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Make some functions static.
parent
52b4c7f2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
instr.c
dlls/kernel32/instr.c
+1
-1
kernel_private.h
dlls/kernel32/kernel_private.h
+0
-1
snoop16.c
dlls/kernel32/snoop16.c
+4
-4
No files found.
dlls/kernel32/instr.c
View file @
0f305929
...
...
@@ -895,7 +895,7 @@ LONG CALLBACK INSTR_vectored_handler( EXCEPTION_POINTERS *ptrs )
/***********************************************************************
* INSTR_CallBuiltinHandler
*/
void
INSTR_CallBuiltinHandler
(
CONTEXT86
*
context
,
BYTE
intnum
)
static
void
INSTR_CallBuiltinHandler
(
CONTEXT86
*
context
,
BYTE
intnum
)
{
if
(
!
winedos
.
CallBuiltinHandler
)
load_winedos
();
if
(
winedos
.
CallBuiltinHandler
)
winedos
.
CallBuiltinHandler
(
context
,
intnum
);
...
...
dlls/kernel32/kernel_private.h
View file @
0f305929
...
...
@@ -80,7 +80,6 @@ extern DWORD FILE_name_WtoA( LPCWSTR src, INT srclen, LPSTR dest, INT destlen );
extern
DWORD
__wine_emulate_instruction
(
EXCEPTION_RECORD
*
rec
,
CONTEXT86
*
context
);
extern
LONG
CALLBACK
INSTR_vectored_handler
(
EXCEPTION_POINTERS
*
ptrs
);
extern
void
INSTR_CallBuiltinHandler
(
CONTEXT86
*
context
,
BYTE
intnum
);
/* return values for MODULE_GetBinaryType */
enum
binary_type
...
...
dlls/kernel32/snoop16.c
View file @
0f305929
...
...
@@ -42,8 +42,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(snoop);
#include "pshpack1.h"
void
WINAPI
SNOOP16_Entry
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
);
void
WINAPI
SNOOP16_Return
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
);
static
void
WINAPI
SNOOP16_Entry
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
);
static
void
WINAPI
SNOOP16_Return
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
);
typedef
struct
tagSNOOP16_FUN
{
/* code part */
...
...
@@ -241,7 +241,7 @@ SNOOP16_GetProcAddress16(HMODULE16 hmod,DWORD ordinal,FARPROC16 origfun) {
}
#define CALLER1REF (*(DWORD*)(MapSL( MAKESEGPTR(context->SegSs,LOWORD(context->Esp)+4))))
void
WINAPI
SNOOP16_Entry
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
)
{
static
void
WINAPI
SNOOP16_Entry
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
)
{
DWORD
ordinal
=
0
;
DWORD
entry
=
(
DWORD
)
MapSL
(
MAKESEGPTR
(
context
->
SegCs
,
LOWORD
(
context
->
Eip
))
)
-
5
;
WORD
xcs
=
context
->
SegCs
;
...
...
@@ -308,7 +308,7 @@ void WINAPI SNOOP16_Entry(FARPROC proc, LPBYTE args, CONTEXT86 *context) {
DPRINTF
(
") ret=%04x:%04x
\n
"
,
HIWORD
(
ret
->
origreturn
),
LOWORD
(
ret
->
origreturn
));
}
void
WINAPI
SNOOP16_Return
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
)
{
static
void
WINAPI
SNOOP16_Return
(
FARPROC
proc
,
LPBYTE
args
,
CONTEXT86
*
context
)
{
SNOOP16_RETURNENTRY
*
ret
=
(
SNOOP16_RETURNENTRY
*
)((
char
*
)
MapSL
(
MAKESEGPTR
(
context
->
SegCs
,
LOWORD
(
context
->
Eip
))
)
-
5
);
/* We haven't found out the nrofargs yet. If we called a cdecl
...
...
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