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
9b65ffbb
Commit
9b65ffbb
authored
Jul 15, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jul 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some consts to fix discard-qual warnings.
parent
e3d1a13b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
audio.c
dlls/winmm/winenas/audio.c
+7
-7
scroll.c
dlls/x11drv/scroll.c
+1
-1
No files found.
dlls/winmm/winenas/audio.c
View file @
9b65ffbb
...
...
@@ -204,7 +204,7 @@ static int nas_add_buffer(WINE_WAVEOUT* wwo);
static
int
nas_send_buffer
(
WINE_WAVEOUT
*
wwo
);
/* These strings used only for tracing */
static
const
char
*
wodPlayerCmdString
[]
=
{
static
const
char
*
const
wodPlayerCmdString
[]
=
{
"WINE_WM_PAUSING"
,
"WINE_WM_RESTARTING"
,
"WINE_WM_RESETTING"
,
...
...
@@ -214,21 +214,21 @@ static const char *wodPlayerCmdString[] = {
"WINE_WM_CLOSING"
,
};
static
c
har
*
nas_elementnotify_kinds
[]
=
{
static
c
onst
char
*
const
nas_elementnotify_kinds
[]
=
{
"LowWater"
,
"HighWater"
,
"State"
,
"Unknown"
};
static
c
har
*
nas_states
[]
=
{
static
c
onst
char
*
const
nas_states
[]
=
{
"Stop"
,
"Start"
,
"Pause"
,
"Any"
};
static
c
har
*
nas_reasons
[]
=
{
static
c
onst
char
*
const
nas_reasons
[]
=
{
"User"
,
"Underrun"
,
"Overrun"
,
...
...
@@ -238,13 +238,13 @@ static char *nas_reasons[] = {
"Any"
};
static
char
*
nas_reason
(
unsigned
int
reason
)
static
c
onst
c
har
*
nas_reason
(
unsigned
int
reason
)
{
if
(
reason
>
6
)
reason
=
6
;
return
nas_reasons
[
reason
];
}
static
char
*
nas_elementnotify_kind
(
unsigned
int
kind
)
static
c
onst
c
har
*
nas_elementnotify_kind
(
unsigned
int
kind
)
{
if
(
kind
>
2
)
kind
=
3
;
return
nas_elementnotify_kinds
[
kind
];
...
...
@@ -271,7 +271,7 @@ static const char* nas_event_type(unsigned int type)
#endif
static
char
*
nas_state
(
unsigned
int
state
)
static
c
onst
c
har
*
nas_state
(
unsigned
int
state
)
{
if
(
state
>
3
)
state
=
3
;
return
nas_states
[
state
];
...
...
dlls/x11drv/scroll.c
View file @
9b65ffbb
...
...
@@ -35,7 +35,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
scroll
);
static
void
dump_region
(
char
*
p
,
HRGN
hrgn
)
static
void
dump_region
(
c
onst
c
har
*
p
,
HRGN
hrgn
)
{
DWORD
i
,
size
;
RGNDATA
*
data
=
NULL
;
...
...
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