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
3e05fe1e
Commit
3e05fe1e
authored
Jul 24, 2005
by
Stefan Huehner
Committed by
Alexandre Julliard
Jul 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing-declarations warnings.
parent
043c0d4a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
clipboard.c
dlls/x11drv/clipboard.c
+8
-8
desktop.c
dlls/x11drv/desktop.c
+3
-3
dib.c
dlls/x11drv/dib.c
+2
-2
No files found.
dlls/x11drv/clipboard.c
View file @
3e05fe1e
...
...
@@ -421,7 +421,7 @@ static WINE_CLIPFORMAT *register_format( LPCWSTR FormatName, Atom prop )
/**************************************************************************
* X11DRV_CLIPBOARD_LookupFormat
*/
LPWINE_CLIPFORMAT
X11DRV_CLIPBOARD_LookupFormat
(
WORD
wID
)
static
LPWINE_CLIPFORMAT
X11DRV_CLIPBOARD_LookupFormat
(
WORD
wID
)
{
LPWINE_CLIPFORMAT
lpFormat
=
ClipFormats
;
...
...
@@ -440,7 +440,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupFormat(WORD wID)
/**************************************************************************
* X11DRV_CLIPBOARD_LookupProperty
*/
LPWINE_CLIPFORMAT
X11DRV_CLIPBOARD_LookupProperty
(
UINT
drvData
)
static
LPWINE_CLIPFORMAT
X11DRV_CLIPBOARD_LookupProperty
(
UINT
drvData
)
{
for
(;;)
{
...
...
@@ -463,7 +463,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupProperty(UINT drvData)
/**************************************************************************
* X11DRV_CLIPBOARD_LookupAliasProperty
*/
LPWINE_CLIPFORMAT
X11DRV_CLIPBOARD_LookupAliasProperty
(
UINT
drvDataAlias
)
static
LPWINE_CLIPFORMAT
X11DRV_CLIPBOARD_LookupAliasProperty
(
UINT
drvDataAlias
)
{
unsigned
int
i
;
LPWINE_CLIPFORMAT
lpFormat
=
NULL
;
...
...
@@ -484,7 +484,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupAliasProperty(UINT drvDataAlias)
/**************************************************************************
* X11DRV_CLIPBOARD_LookupPropertyAlias
*/
UINT
X11DRV_CLIPBOARD_LookupPropertyAlias
(
UINT
drvDataProperty
)
static
UINT
X11DRV_CLIPBOARD_LookupPropertyAlias
(
UINT
drvDataProperty
)
{
unsigned
int
i
;
UINT
alias
=
0
;
...
...
@@ -505,7 +505,7 @@ UINT X11DRV_CLIPBOARD_LookupPropertyAlias(UINT drvDataProperty)
/**************************************************************************
* X11DRV_CLIPBOARD_LookupData
*/
LPWINE_CLIPDATA
X11DRV_CLIPBOARD_LookupData
(
DWORD
wID
)
static
LPWINE_CLIPDATA
X11DRV_CLIPBOARD_LookupData
(
DWORD
wID
)
{
LPWINE_CLIPDATA
lpData
=
ClipData
;
...
...
@@ -1313,7 +1313,7 @@ HANDLE X11DRV_CLIPBOARD_ExportClipboardData(Window requestor, Atom aTarget,
* Export CF_UNICODE converting the string to XA_STRING.
* Helper function for X11DRV_CLIPBOARD_ExportString.
*/
HANDLE
X11DRV_CLIPBOARD_ExportXAString
(
LPWINE_CLIPDATA
lpData
,
LPDWORD
lpBytes
)
static
HANDLE
X11DRV_CLIPBOARD_ExportXAString
(
LPWINE_CLIPDATA
lpData
,
LPDWORD
lpBytes
)
{
UINT
i
,
j
;
UINT
size
;
...
...
@@ -1359,7 +1359,7 @@ done:
* Export CF_UNICODE to COMPOUND_TEXT or TEXT
* Helper function for X11DRV_CLIPBOARD_ExportString.
*/
HANDLE
X11DRV_CLIPBOARD_ExportCompoundText
(
Window
requestor
,
Atom
aTarget
,
Atom
rprop
,
static
HANDLE
X11DRV_CLIPBOARD_ExportCompoundText
(
Window
requestor
,
Atom
aTarget
,
Atom
rprop
,
LPWINE_CLIPDATA
lpData
,
LPDWORD
lpBytes
)
{
Display
*
display
=
thread_display
();
...
...
@@ -1972,7 +1972,7 @@ static HANDLE X11DRV_CLIPBOARD_SerializeMetafile(INT wformat, HANDLE hdata, LPDW
*
* Release XA_CLIPBOARD and XA_PRIMARY in response to a SelectionClear event.
*/
void
X11DRV_CLIPBOARD_ReleaseSelection
(
Atom
selType
,
Window
w
,
HWND
hwnd
,
Time
time
)
static
void
X11DRV_CLIPBOARD_ReleaseSelection
(
Atom
selType
,
Window
w
,
HWND
hwnd
,
Time
time
)
{
Display
*
display
=
thread_display
();
...
...
dlls/x11drv/desktop.c
View file @
3e05fe1e
...
...
@@ -148,7 +148,7 @@ static void make_modes(void)
*
* Reset the desktop window size and WM hints
*/
int
X11DRV_resize_desktop
(
unsigned
int
width
,
unsigned
int
height
)
static
int
X11DRV_resize_desktop
(
unsigned
int
width
,
unsigned
int
height
)
{
XSizeHints
*
size_hints
;
Display
*
display
=
thread_display
();
...
...
@@ -178,7 +178,7 @@ int X11DRV_resize_desktop( unsigned int width, unsigned int height )
return
1
;
}
int
X11DRV_desktop_GetCurrentMode
(
void
)
static
int
X11DRV_desktop_GetCurrentMode
(
void
)
{
unsigned
int
i
;
DWORD
dwBpp
=
screen_depth
;
...
...
@@ -194,7 +194,7 @@ int X11DRV_desktop_GetCurrentMode(void)
return
0
;
}
void
X11DRV_desktop_SetCurrentMode
(
int
mode
)
static
void
X11DRV_desktop_SetCurrentMode
(
int
mode
)
{
DWORD
dwBpp
=
screen_depth
;
if
(
dwBpp
==
24
)
dwBpp
=
32
;
...
...
dlls/x11drv/dib.c
View file @
3e05fe1e
...
...
@@ -279,7 +279,7 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
* Fills the color map of a bitmap palette. Should not be called
* for a >8-bit deep bitmap.
*/
int
*
X11DRV_DIB_GenColorMap
(
X11DRV_PDEVICE
*
physDev
,
int
*
colorMapping
,
static
int
*
X11DRV_DIB_GenColorMap
(
X11DRV_PDEVICE
*
physDev
,
int
*
colorMapping
,
WORD
coloruse
,
WORD
depth
,
BOOL
quads
,
const
void
*
colorPtr
,
int
start
,
int
end
)
{
...
...
@@ -458,7 +458,7 @@ static RGBQUAD *X11DRV_DIB_BuildColorTable( X11DRV_PDEVICE *physDev, WORD coloru
/***********************************************************************
* X11DRV_DIB_MapColor
*/
int
X11DRV_DIB_MapColor
(
int
*
physMap
,
int
nPhysMap
,
int
phys
,
int
oldcol
)
static
int
X11DRV_DIB_MapColor
(
int
*
physMap
,
int
nPhysMap
,
int
phys
,
int
oldcol
)
{
unsigned
int
color
;
...
...
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