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
b4debd66
Commit
b4debd66
authored
Dec 03, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Make some functions static.
parent
e48283be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
wintab.c
dlls/winex11.drv/wintab.c
+1
-1
xvidmode.c
dlls/winex11.drv/xvidmode.c
+3
-3
xvidmode.h
dlls/winex11.drv/xvidmode.h
+0
-4
No files found.
dlls/winex11.drv/wintab.c
View file @
b4debd66
...
...
@@ -359,7 +359,7 @@ static void trace_axes(XValuatorInfoPtr val)
TRACE
(
" Axis %d: [resolution %d|min_value %d|max_value %d]
\n
"
,
i
,
axis
->
resolution
,
axis
->
min_value
,
axis
->
max_value
);
}
BOOL
match_token
(
const
char
*
haystack
,
const
char
*
needle
)
static
BOOL
match_token
(
const
char
*
haystack
,
const
char
*
needle
)
{
const
char
*
p
,
*
q
;
for
(
p
=
haystack
;
*
p
;
)
...
...
dlls/winex11.drv/xvidmode.c
View file @
b4debd66
...
...
@@ -57,7 +57,7 @@ static unsigned int dd_mode_count;
static
XF86VidModeModeInfo
**
real_xf86vm_modes
;
static
unsigned
int
real_xf86vm_mode_count
;
#define MAKE_FUNCPTR(f) typeof(f) * p##f;
#define MAKE_FUNCPTR(f)
static
typeof(f) * p##f;
MAKE_FUNCPTR
(
XF86VidModeGetAllModeLines
)
MAKE_FUNCPTR
(
XF86VidModeGetModeLine
)
MAKE_FUNCPTR
(
XF86VidModeLockModeSwitch
)
...
...
@@ -356,7 +356,7 @@ static BOOL ComputeGammaFromRamp(WORD ramp[256], float *gamma)
/* Hmm... should gamma control be available in desktop mode or not?
* I'll assume that it should */
BOOL
X11DRV_XF86VM_GetGammaRamp
(
LPDDGAMMARAMP
ramp
)
static
BOOL
X11DRV_XF86VM_GetGammaRamp
(
LPDDGAMMARAMP
ramp
)
{
#ifdef X_XF86VidModeSetGamma
XF86VidModeGamma
gamma
;
...
...
@@ -390,7 +390,7 @@ BOOL X11DRV_XF86VM_GetGammaRamp(LPDDGAMMARAMP ramp)
return
FALSE
;
}
BOOL
X11DRV_XF86VM_SetGammaRamp
(
LPDDGAMMARAMP
ramp
)
static
BOOL
X11DRV_XF86VM_SetGammaRamp
(
LPDDGAMMARAMP
ramp
)
{
#ifdef X_XF86VidModeSetGamma
XF86VidModeGamma
gamma
;
...
...
dlls/winex11.drv/xvidmode.h
View file @
b4debd66
...
...
@@ -33,10 +33,6 @@
void
X11DRV_XF86VM_Init
(
void
);
void
X11DRV_XF86VM_Cleanup
(
void
);
void
X11DRV_XF86VM_SetExclusiveMode
(
int
lock
);
BOOL
X11DRV_XF86VM_GetGammaRamp
(
LPDDGAMMARAMP
ramp
);
BOOL
X11DRV_XF86VM_SetGammaRamp
(
LPDDGAMMARAMP
ramp
);
#endif
/* SONAME_LIBXXF86VM */
#endif
/* __WINE_XVIDMODE_H */
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