Commit 3e05fe1e authored by Stefan Huehner's avatar Stefan Huehner Committed by Alexandre Julliard

Fix missing-declarations warnings.

parent 043c0d4a
...@@ -421,7 +421,7 @@ static WINE_CLIPFORMAT *register_format( LPCWSTR FormatName, Atom prop ) ...@@ -421,7 +421,7 @@ static WINE_CLIPFORMAT *register_format( LPCWSTR FormatName, Atom prop )
/************************************************************************** /**************************************************************************
* X11DRV_CLIPBOARD_LookupFormat * X11DRV_CLIPBOARD_LookupFormat
*/ */
LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupFormat(WORD wID) static LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupFormat(WORD wID)
{ {
LPWINE_CLIPFORMAT lpFormat = ClipFormats; LPWINE_CLIPFORMAT lpFormat = ClipFormats;
...@@ -440,7 +440,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupFormat(WORD wID) ...@@ -440,7 +440,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupFormat(WORD wID)
/************************************************************************** /**************************************************************************
* X11DRV_CLIPBOARD_LookupProperty * X11DRV_CLIPBOARD_LookupProperty
*/ */
LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupProperty(UINT drvData) static LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupProperty(UINT drvData)
{ {
for (;;) for (;;)
{ {
...@@ -463,7 +463,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupProperty(UINT drvData) ...@@ -463,7 +463,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupProperty(UINT drvData)
/************************************************************************** /**************************************************************************
* X11DRV_CLIPBOARD_LookupAliasProperty * X11DRV_CLIPBOARD_LookupAliasProperty
*/ */
LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupAliasProperty(UINT drvDataAlias) static LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupAliasProperty(UINT drvDataAlias)
{ {
unsigned int i; unsigned int i;
LPWINE_CLIPFORMAT lpFormat = NULL; LPWINE_CLIPFORMAT lpFormat = NULL;
...@@ -484,7 +484,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupAliasProperty(UINT drvDataAlias) ...@@ -484,7 +484,7 @@ LPWINE_CLIPFORMAT X11DRV_CLIPBOARD_LookupAliasProperty(UINT drvDataAlias)
/************************************************************************** /**************************************************************************
* X11DRV_CLIPBOARD_LookupPropertyAlias * X11DRV_CLIPBOARD_LookupPropertyAlias
*/ */
UINT X11DRV_CLIPBOARD_LookupPropertyAlias(UINT drvDataProperty) static UINT X11DRV_CLIPBOARD_LookupPropertyAlias(UINT drvDataProperty)
{ {
unsigned int i; unsigned int i;
UINT alias = 0; UINT alias = 0;
...@@ -505,7 +505,7 @@ UINT X11DRV_CLIPBOARD_LookupPropertyAlias(UINT drvDataProperty) ...@@ -505,7 +505,7 @@ UINT X11DRV_CLIPBOARD_LookupPropertyAlias(UINT drvDataProperty)
/************************************************************************** /**************************************************************************
* X11DRV_CLIPBOARD_LookupData * X11DRV_CLIPBOARD_LookupData
*/ */
LPWINE_CLIPDATA X11DRV_CLIPBOARD_LookupData(DWORD wID) static LPWINE_CLIPDATA X11DRV_CLIPBOARD_LookupData(DWORD wID)
{ {
LPWINE_CLIPDATA lpData = ClipData; LPWINE_CLIPDATA lpData = ClipData;
...@@ -1313,7 +1313,7 @@ HANDLE X11DRV_CLIPBOARD_ExportClipboardData(Window requestor, Atom aTarget, ...@@ -1313,7 +1313,7 @@ HANDLE X11DRV_CLIPBOARD_ExportClipboardData(Window requestor, Atom aTarget,
* Export CF_UNICODE converting the string to XA_STRING. * Export CF_UNICODE converting the string to XA_STRING.
* Helper function for X11DRV_CLIPBOARD_ExportString. * 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 i, j;
UINT size; UINT size;
...@@ -1359,7 +1359,7 @@ done: ...@@ -1359,7 +1359,7 @@ done:
* Export CF_UNICODE to COMPOUND_TEXT or TEXT * Export CF_UNICODE to COMPOUND_TEXT or TEXT
* Helper function for X11DRV_CLIPBOARD_ExportString. * 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) LPWINE_CLIPDATA lpData, LPDWORD lpBytes)
{ {
Display *display = thread_display(); Display *display = thread_display();
...@@ -1972,7 +1972,7 @@ static HANDLE X11DRV_CLIPBOARD_SerializeMetafile(INT wformat, HANDLE hdata, LPDW ...@@ -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. * 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(); Display *display = thread_display();
......
...@@ -148,7 +148,7 @@ static void make_modes(void) ...@@ -148,7 +148,7 @@ static void make_modes(void)
* *
* Reset the desktop window size and WM hints * 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; XSizeHints *size_hints;
Display *display = thread_display(); Display *display = thread_display();
...@@ -178,7 +178,7 @@ int X11DRV_resize_desktop( unsigned int width, unsigned int height ) ...@@ -178,7 +178,7 @@ int X11DRV_resize_desktop( unsigned int width, unsigned int height )
return 1; return 1;
} }
int X11DRV_desktop_GetCurrentMode(void) static int X11DRV_desktop_GetCurrentMode(void)
{ {
unsigned int i; unsigned int i;
DWORD dwBpp = screen_depth; DWORD dwBpp = screen_depth;
...@@ -194,7 +194,7 @@ int X11DRV_desktop_GetCurrentMode(void) ...@@ -194,7 +194,7 @@ int X11DRV_desktop_GetCurrentMode(void)
return 0; return 0;
} }
void X11DRV_desktop_SetCurrentMode(int mode) static void X11DRV_desktop_SetCurrentMode(int mode)
{ {
DWORD dwBpp = screen_depth; DWORD dwBpp = screen_depth;
if (dwBpp == 24) dwBpp = 32; if (dwBpp == 24) dwBpp = 32;
......
...@@ -279,7 +279,7 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width, ...@@ -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 * Fills the color map of a bitmap palette. Should not be called
* for a >8-bit deep bitmap. * 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, WORD coloruse, WORD depth, BOOL quads,
const void *colorPtr, int start, int end ) const void *colorPtr, int start, int end )
{ {
...@@ -458,7 +458,7 @@ static RGBQUAD *X11DRV_DIB_BuildColorTable( X11DRV_PDEVICE *physDev, WORD coloru ...@@ -458,7 +458,7 @@ static RGBQUAD *X11DRV_DIB_BuildColorTable( X11DRV_PDEVICE *physDev, WORD coloru
/*********************************************************************** /***********************************************************************
* X11DRV_DIB_MapColor * 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; unsigned int color;
......
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