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 )
/**************************************************************************
* 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();
......
......@@ -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;
......
......@@ -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;
......
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