Commit a8bc5190 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Make some functions static.

parent 9d5d7bff
...@@ -1674,8 +1674,8 @@ void WINAPI SetThunkletCallbackGlue16( FARPROC glueLS, SEGPTR glueSL ) ...@@ -1674,8 +1674,8 @@ void WINAPI SetThunkletCallbackGlue16( FARPROC glueLS, SEGPTR glueSL )
/*********************************************************************** /***********************************************************************
* THUNK_FindThunklet * THUNK_FindThunklet
*/ */
THUNKLET *THUNK_FindThunklet( DWORD target, DWORD relay, static THUNKLET *THUNK_FindThunklet( DWORD target, DWORD relay,
DWORD glue, BYTE type ) DWORD glue, BYTE type )
{ {
THUNKLET *thunk; THUNKLET *thunk;
...@@ -1694,8 +1694,8 @@ THUNKLET *THUNK_FindThunklet( DWORD target, DWORD relay, ...@@ -1694,8 +1694,8 @@ THUNKLET *THUNK_FindThunklet( DWORD target, DWORD relay,
/*********************************************************************** /***********************************************************************
* THUNK_AllocLSThunklet * THUNK_AllocLSThunklet
*/ */
FARPROC THUNK_AllocLSThunklet( SEGPTR target, DWORD relay, static FARPROC THUNK_AllocLSThunklet( SEGPTR target, DWORD relay,
FARPROC glue, HTASK16 owner ) FARPROC glue, HTASK16 owner )
{ {
THUNKLET *thunk = THUNK_FindThunklet( (DWORD)target, relay, (DWORD)glue, THUNKLET *thunk = THUNK_FindThunklet( (DWORD)target, relay, (DWORD)glue,
THUNKLET_TYPE_LS ); THUNKLET_TYPE_LS );
...@@ -1728,8 +1728,8 @@ FARPROC THUNK_AllocLSThunklet( SEGPTR target, DWORD relay, ...@@ -1728,8 +1728,8 @@ FARPROC THUNK_AllocLSThunklet( SEGPTR target, DWORD relay,
/*********************************************************************** /***********************************************************************
* THUNK_AllocSLThunklet * THUNK_AllocSLThunklet
*/ */
SEGPTR THUNK_AllocSLThunklet( FARPROC target, DWORD relay, static SEGPTR THUNK_AllocSLThunklet( FARPROC target, DWORD relay,
SEGPTR glue, HTASK16 owner ) SEGPTR glue, HTASK16 owner )
{ {
THUNKLET *thunk = THUNK_FindThunklet( (DWORD)target, relay, (DWORD)glue, THUNKLET *thunk = THUNK_FindThunklet( (DWORD)target, relay, (DWORD)glue,
THUNKLET_TYPE_SL ); THUNKLET_TYPE_SL );
...@@ -1762,7 +1762,7 @@ SEGPTR THUNK_AllocSLThunklet( FARPROC target, DWORD relay, ...@@ -1762,7 +1762,7 @@ SEGPTR THUNK_AllocSLThunklet( FARPROC target, DWORD relay,
/********************************************************************** /**********************************************************************
* IsLSThunklet * IsLSThunklet
*/ */
BOOL16 WINAPI IsLSThunklet( THUNKLET *thunk ) static BOOL16 IsLSThunklet( THUNKLET *thunk )
{ {
return thunk->prefix_target == 0x90 && thunk->pushl_target == 0x68 return thunk->prefix_target == 0x90 && thunk->pushl_target == 0x68
&& thunk->prefix_relay == 0x90 && thunk->pushl_relay == 0x68 && thunk->prefix_relay == 0x90 && thunk->pushl_relay == 0x68
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment