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
bf98c9d1
Commit
bf98c9d1
authored
Feb 02, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Declare some items static.
parent
69a9621b
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
21 additions
and
22 deletions
+21
-22
devices.c
dlls/winedos/devices.c
+1
-1
dosaspi.c
dlls/winedos/dosaspi.c
+1
-1
dosmem.c
dlls/winedos/dosmem.c
+1
-1
int09.c
dlls/winedos/int09.c
+1
-1
int21.c
dlls/winedos/int21.c
+2
-1
int31.c
dlls/winedos/int31.c
+8
-8
int67.c
dlls/winedos/int67.c
+2
-2
interrupts.c
dlls/winedos/interrupts.c
+1
-1
soundblaster.c
dlls/winedos/soundblaster.c
+1
-1
vga.c
dlls/winedos/vga.c
+2
-2
vga.h
dlls/winedos/vga.h
+0
-2
vxd.c
dlls/winedos/vxd.c
+1
-1
No files found.
dlls/winedos/devices.c
View file @
bf98c9d1
...
...
@@ -110,7 +110,7 @@ typedef struct
#define DOS_DATASEG_OFF(xxx) FIELD_OFFSET(DOS_DATASEG, xxx)
DWORD
DOS_LOLSeg
;
static
DWORD
DOS_LOLSeg
;
static
struct
_DOS_LISTOFLISTS
*
DOSMEM_LOL
(
void
)
{
...
...
dlls/winedos/dosaspi.c
View file @
bf98c9d1
...
...
@@ -175,7 +175,7 @@ DWORD ASPI_SendASPIDOSCommand(DWORD ptrSRB)
return
retval
;
}
void
WINAPI
ASPI_DOS_func
(
CONTEXT86
*
context
)
static
void
WINAPI
ASPI_DOS_func
(
CONTEXT86
*
context
)
{
WORD
*
stack
=
CTX_SEG_OFF_TO_LIN
(
context
,
context
->
SegSs
,
context
->
Esp
);
DWORD
ptrSRB
=
*
(
DWORD
*
)
&
stack
[
2
];
...
...
dlls/winedos/dosmem.c
View file @
bf98c9d1
...
...
@@ -236,7 +236,7 @@ void BiosTick( WORD timer )
* Helper function for internal use only.
* Atach all following free blocks to this one, even if this one is not free.
*/
void
DOSMEM_Collapse
(
MCB
*
mcb
)
static
void
DOSMEM_Collapse
(
MCB
*
mcb
)
{
MCB
*
next
=
MCB_NEXT
(
mcb
);
...
...
dlls/winedos/int09.c
View file @
bf98c9d1
...
...
@@ -46,7 +46,7 @@ static struct
* so we might be out of sync with the real current system status of these keys.
* Probably doesn't matter too much, though.
*/
void
DOSVM_Int09UpdateKbdStatusFlags
(
BYTE
scan
,
BOOL
extended
,
BIOSDATA
*
data
,
BOOL
*
modifier
)
static
void
DOSVM_Int09UpdateKbdStatusFlags
(
BYTE
scan
,
BOOL
extended
,
BIOSDATA
*
data
,
BOOL
*
modifier
)
{
BYTE
realscan
=
scan
&
0x7f
;
/* remove 0x80 make/break flag */
BYTE
bit1
=
255
,
bit2
=
255
;
...
...
dlls/winedos/int21.c
View file @
bf98c9d1
...
...
@@ -2427,7 +2427,8 @@ static void CreateBPB(int drive, BYTE *data, BOOL16 limited)
}
}
inline
DWORD
INT21_Ioctl_CylHeadSect2Lin
(
DWORD
cyl
,
WORD
head
,
WORD
sec
,
WORD
cyl_cnt
,
WORD
head_cnt
,
WORD
sec_cnt
)
static
inline
DWORD
INT21_Ioctl_CylHeadSect2Lin
(
DWORD
cyl
,
WORD
head
,
WORD
sec
,
WORD
cyl_cnt
,
WORD
head_cnt
,
WORD
sec_cnt
)
{
DWORD
res
=
(
cyl
*
head_cnt
*
sec_cnt
+
head
*
sec_cnt
+
sec
);
return
res
;
...
...
dlls/winedos/int31.c
View file @
bf98c9d1
...
...
@@ -517,9 +517,9 @@ callrmproc_again:
/**********************************************************************
* CallRMInt
(WINEDOS.@)
* CallRMInt
*/
void
WINAPI
DOSVM_CallRMInt
(
CONTEXT86
*
context
)
static
void
DOSVM_CallRMInt
(
CONTEXT86
*
context
)
{
CONTEXT86
realmode_ctx
;
FARPROC16
rm_int
=
DOSVM_GetRMHandler
(
BL_reg
(
context
)
);
...
...
@@ -546,9 +546,9 @@ void WINAPI DOSVM_CallRMInt( CONTEXT86 *context )
/**********************************************************************
* CallRMProc
(WINEDOS.@)
* CallRMProc
*/
void
WINAPI
DOSVM_CallRMProc
(
CONTEXT86
*
context
,
int
iret
)
static
void
DOSVM_CallRMProc
(
CONTEXT86
*
context
,
int
iret
)
{
REALMODECALL
*
p
=
CTX_SEG_OFF_TO_LIN
(
context
,
context
->
SegEs
,
...
...
@@ -775,9 +775,9 @@ void WINAPI DOSVM_RawModeSwitchHandler( CONTEXT86 *context )
/**********************************************************************
* AllocRMCB
(WINEDOS.@)
* AllocRMCB
*/
void
WINAPI
DOSVM_AllocRMCB
(
CONTEXT86
*
context
)
static
void
DOSVM_AllocRMCB
(
CONTEXT86
*
context
)
{
RMCB
*
NewRMCB
=
DPMI_AllocRMCB
();
...
...
@@ -801,9 +801,9 @@ void WINAPI DOSVM_AllocRMCB( CONTEXT86 *context )
/**********************************************************************
* FreeRMCB
(WINEDOS.@)
* FreeRMCB
*/
void
WINAPI
DOSVM_FreeRMCB
(
CONTEXT86
*
context
)
static
void
DOSVM_FreeRMCB
(
CONTEXT86
*
context
)
{
FIXME
(
"callback address: %04x:%04x
\n
"
,
CX_reg
(
context
),
DX_reg
(
context
));
...
...
dlls/winedos/int67.c
View file @
bf98c9d1
...
...
@@ -54,7 +54,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(int);
* FIXME: Missing lots of fields, packing is not correct.
*/
struct
{
st
atic
st
ruct
{
struct
{
UCHAR
hindex
;
/* handle number */
BYTE
flags
;
/* bit 0: normal handle rather than system handle */
...
...
@@ -79,7 +79,7 @@ struct {
WORD
logical_page
;
/* logical page */
}
mapping_save_area
[
EMS_MAX_HANDLES
][
4
];
}
*
EMS_record
=
0
;
}
*
EMS_record
;
/**********************************************************************
* EMS_init
...
...
dlls/winedos/interrupts.c
View file @
bf98c9d1
...
...
@@ -115,7 +115,7 @@ static BOOL DOSVM_IsIRQ( BYTE intnum )
* Default interrupt handler. This will be used to emulate all
* interrupts that don't have their own interrupt handler.
*/
void
WINAPI
DOSVM_DefaultHandler
(
CONTEXT86
*
context
)
static
void
WINAPI
DOSVM_DefaultHandler
(
CONTEXT86
*
context
)
{
}
...
...
dlls/winedos/soundblaster.c
View file @
bf98c9d1
...
...
@@ -63,7 +63,7 @@ static BYTE dma_buffer[DMATRFSIZE*2];
/* Direct Sound playback stuff */
static
HMODULE
hmodule
;
typedef
HRESULT
(
WINAPI
*
fnDirectSoundCreate
)
(
LPGUID
,
LPDIRECTSOUND
*
,
LPUNKNOWN
);
fnDirectSoundCreate
lpDirectSoundCreate
;
static
fnDirectSoundCreate
lpDirectSoundCreate
;
static
LPDIRECTSOUND
lpdsound
;
static
LPDIRECTSOUNDBUFFER
lpdsbuf
;
static
DSBUFFERDESC
buf_desc
;
...
...
dlls/winedos/vga.c
View file @
bf98c9d1
...
...
@@ -595,7 +595,7 @@ void VGA_SetQuadPalette(RGBQUAD*color,int start,int len)
IDirectDrawPalette_SetEntries
(
lpddpal
,
0
,
start
,
len
,
pal
);
}
LPSTR
VGA_Lock
(
unsigned
*
Pitch
,
unsigned
*
Height
,
unsigned
*
Width
,
unsigned
*
Depth
)
static
LPSTR
VGA_Lock
(
unsigned
*
Pitch
,
unsigned
*
Height
,
unsigned
*
Width
,
unsigned
*
Depth
)
{
if
(
!
lpddraw
)
return
NULL
;
if
(
!
lpddsurf
)
return
NULL
;
...
...
@@ -610,7 +610,7 @@ LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth)
return
sdesc
.
lpSurface
;
}
void
VGA_Unlock
(
void
)
static
void
VGA_Unlock
(
void
)
{
IDirectDrawSurface_Unlock
(
lpddsurf
,
sdesc
.
lpSurface
);
}
...
...
dlls/winedos/vga.h
View file @
bf98c9d1
...
...
@@ -36,8 +36,6 @@ char VGA_GetColor16(int reg);
void
VGA_Set16Palette
(
char
*
Table
);
void
VGA_Get16Palette
(
char
*
Table
);
void
VGA_SetQuadPalette
(
RGBQUAD
*
color
,
int
start
,
int
len
);
LPSTR
VGA_Lock
(
unsigned
*
Pitch
,
unsigned
*
Height
,
unsigned
*
Width
,
unsigned
*
Depth
);
void
VGA_Unlock
(
void
);
void
VGA_SetWindowStart
(
int
start
);
int
VGA_GetWindowStart
(
void
);
void
VGA_ShowMouse
(
BOOL
show
);
...
...
dlls/winedos/vxd.c
View file @
bf98c9d1
...
...
@@ -58,7 +58,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(vxd);
CX_reg(context), DX_reg(context), SI_reg(context), \
DI_reg(context), (WORD)context->SegDs, (WORD)context->SegEs )
UINT
W32S_offset
=
0
;
static
UINT
W32S_offset
;
static
WORD
VXD_WinVersion
(
void
)
{
...
...
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