Commit e2fa2990 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winedos: Declare some functions static.

parent 2705a96a
...@@ -407,8 +407,6 @@ extern void WINAPI DOSVM_Int3eHandler(CONTEXT86*); ...@@ -407,8 +407,6 @@ extern void WINAPI DOSVM_Int3eHandler(CONTEXT86*);
/* himem.c */ /* himem.c */
extern void DOSVM_InitSegments(void); extern void DOSVM_InitSegments(void);
extern LPVOID DOSVM_AllocUMB(DWORD);
extern LPVOID DOSVM_AllocCodeUMB(DWORD, WORD *, WORD *);
extern LPVOID DOSVM_AllocDataUMB(DWORD, WORD *, WORD *); extern LPVOID DOSVM_AllocDataUMB(DWORD, WORD *, WORD *);
/* int09.c */ /* int09.c */
......
...@@ -66,7 +66,7 @@ static DWORD DOSVM_umb_free = DOSVM_UMB_BOTTOM; ...@@ -66,7 +66,7 @@ static DWORD DOSVM_umb_free = DOSVM_UMB_BOTTOM;
* overhead. Use of this routine also preserves precious DOS * overhead. Use of this routine also preserves precious DOS
* conventional memory. * conventional memory.
*/ */
LPVOID DOSVM_AllocUMB( DWORD size ) static LPVOID DOSVM_AllocUMB( DWORD size )
{ {
LPVOID ptr = (LPVOID)DOSVM_umb_free; LPVOID ptr = (LPVOID)DOSVM_umb_free;
...@@ -113,7 +113,7 @@ static WORD alloc_selector( void *base, DWORD size, unsigned char flags ) ...@@ -113,7 +113,7 @@ static WORD alloc_selector( void *base, DWORD size, unsigned char flags )
* *
* FIXME: should allocate a single PM selector for the whole UMB range. * FIXME: should allocate a single PM selector for the whole UMB range.
*/ */
LPVOID DOSVM_AllocCodeUMB( DWORD size, WORD *segment, WORD *selector ) static LPVOID DOSVM_AllocCodeUMB( DWORD size, WORD *segment, WORD *selector )
{ {
LPVOID ptr = DOSVM_AllocUMB( size ); LPVOID ptr = DOSVM_AllocUMB( size );
......
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