Commit 5c2a891c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Made some functions and variables static.

parent 955c50aa
...@@ -1379,7 +1379,7 @@ static void AVISaveOptionsUpdate(HWND hWnd) ...@@ -1379,7 +1379,7 @@ static void AVISaveOptionsUpdate(HWND hWnd)
} }
INT_PTR CALLBACK AVISaveOptionsDlgProc(HWND hWnd, UINT uMsg, static INT_PTR CALLBACK AVISaveOptionsDlgProc(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam) WPARAM wParam, LPARAM lParam)
{ {
DWORD dwInterleave; DWORD dwInterleave;
......
...@@ -111,7 +111,7 @@ static HRESULT AVIFILE_EncodeFrame(IAVIStreamImpl *This, ...@@ -111,7 +111,7 @@ static HRESULT AVIFILE_EncodeFrame(IAVIStreamImpl *This,
LPBITMAPINFOHEADER lpbi, LPVOID lpBits); LPBITMAPINFOHEADER lpbi, LPVOID lpBits);
static HRESULT AVIFILE_OpenGetFrame(IAVIStreamImpl *This); static HRESULT AVIFILE_OpenGetFrame(IAVIStreamImpl *This);
inline void AVIFILE_Reset(IAVIStreamImpl *This) static inline void AVIFILE_Reset(IAVIStreamImpl *This)
{ {
This->lCurrent = -1; This->lCurrent = -1;
This->lLastKey = 0; This->lLastKey = 0;
......
...@@ -1746,7 +1746,7 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam, ...@@ -1746,7 +1746,7 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
/*********************************************************************** /***********************************************************************
* PrintDlgProcA [internal] * PrintDlgProcA [internal]
*/ */
INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, static INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
LPARAM lParam) LPARAM lParam)
{ {
PRINT_PTRA* PrintStructures; PRINT_PTRA* PrintStructures;
...@@ -1790,7 +1790,7 @@ INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, ...@@ -1790,7 +1790,7 @@ INT_PTR CALLBACK PrintDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam,
return res; return res;
} }
INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, static INT_PTR CALLBACK PrintDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam,
LPARAM lParam) LPARAM lParam)
{ {
static const WCHAR propW[] = {'_','_','W','I','N','E','_','P','R','I','N','T','D','L','G','D','A','T','A',0}; static const WCHAR propW[] = {'_','_','W','I','N','E','_','P','R','I','N','T','D','L','G','D','A','T','A',0};
......
...@@ -90,17 +90,17 @@ HINTERNET WINAPI INTERNET_InternetOpenUrlW(LPWININETAPPINFOW hIC, LPCWSTR lpszUr ...@@ -90,17 +90,17 @@ HINTERNET WINAPI INTERNET_InternetOpenUrlW(LPWININETAPPINFOW hIC, LPCWSTR lpszUr
LPCWSTR lpszHeaders, DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext); LPCWSTR lpszHeaders, DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext);
static VOID INTERNET_ExecuteWork(); static VOID INTERNET_ExecuteWork();
DWORD g_dwTlsErrIndex = TLS_OUT_OF_INDEXES; static DWORD g_dwTlsErrIndex = TLS_OUT_OF_INDEXES;
DWORD dwNumThreads; static DWORD dwNumThreads;
DWORD dwNumIdleThreads; static DWORD dwNumIdleThreads;
DWORD dwNumJobs; static DWORD dwNumJobs;
HANDLE hEventArray[2]; static HANDLE hEventArray[2];
#define hQuitEvent hEventArray[0] #define hQuitEvent hEventArray[0]
#define hWorkEvent hEventArray[1] #define hWorkEvent hEventArray[1]
CRITICAL_SECTION csQueue; static CRITICAL_SECTION csQueue;
LPWORKREQUEST lpHeadWorkQueue; static LPWORKREQUEST lpHeadWorkQueue;
LPWORKREQUEST lpWorkQueueTail; static LPWORKREQUEST lpWorkQueueTail;
HMODULE WININET_hModule; static HMODULE WININET_hModule;
extern void URLCacheContainers_CreateDefaults(); extern void URLCacheContainers_CreateDefaults();
extern void URLCacheContainers_DeleteAll(); extern void URLCacheContainers_DeleteAll();
...@@ -1036,10 +1036,9 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet) ...@@ -1036,10 +1036,9 @@ BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
* Helper function for InternetCrackUrlW * Helper function for InternetCrackUrlW
* *
*/ */
void ConvertUrlComponentValue(LPSTR* lppszComponent, LPDWORD dwComponentLen, static void ConvertUrlComponentValue(LPSTR* lppszComponent, LPDWORD dwComponentLen,
LPWSTR lpwszComponent, DWORD dwwComponentLen, LPWSTR lpwszComponent, DWORD dwwComponentLen,
LPCSTR lpszStart, LPCSTR lpszStart, LPCWSTR lpwszStart)
LPCWSTR lpwszStart)
{ {
if (*dwComponentLen != 0) if (*dwComponentLen != 0)
{ {
...@@ -1104,6 +1103,7 @@ BOOL WINAPI InternetCrackUrlA(LPCSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags, ...@@ -1104,6 +1103,7 @@ BOOL WINAPI InternetCrackUrlA(LPCSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
HeapFree(GetProcessHeap(), 0, lpwszUrl); HeapFree(GetProcessHeap(), 0, lpwszUrl);
return FALSE; return FALSE;
} }
ConvertUrlComponentValue(&lpUrlComponents->lpszHostName, &lpUrlComponents->dwHostNameLength, ConvertUrlComponentValue(&lpUrlComponents->lpszHostName, &lpUrlComponents->dwHostNameLength,
UCW.lpszHostName, UCW.dwHostNameLength, UCW.lpszHostName, UCW.dwHostNameLength,
lpszUrl, lpwszUrl); lpszUrl, lpwszUrl);
...@@ -1241,7 +1241,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags, ...@@ -1241,7 +1241,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
if(dwUrlLength==0) if(dwUrlLength==0)
dwUrlLength=strlenW(lpszUrl); dwUrlLength=strlenW(lpszUrl);
TRACE("\n"); TRACE("(%s %lu %lx %p)\n", debugstr_w(lpszUrl), dwUrlLength, dwFlags, lpUC);
/* Determine if the URI is absolute. */ /* Determine if the URI is absolute. */
while (*lpszap != '\0') while (*lpszap != '\0')
...@@ -2391,7 +2391,7 @@ void INTERNET_SetLastError(DWORD dwError) ...@@ -2391,7 +2391,7 @@ void INTERNET_SetLastError(DWORD dwError)
* RETURNS * RETURNS
* *
*/ */
DWORD INTERNET_GetLastError() DWORD INTERNET_GetLastError(void)
{ {
LPWITHREADERROR lpwite = (LPWITHREADERROR)TlsGetValue(g_dwTlsErrIndex); LPWITHREADERROR lpwite = (LPWITHREADERROR)TlsGetValue(g_dwTlsErrIndex);
return lpwite->dwError; return lpwite->dwError;
...@@ -2406,7 +2406,7 @@ DWORD INTERNET_GetLastError() ...@@ -2406,7 +2406,7 @@ DWORD INTERNET_GetLastError()
* RETURNS * RETURNS
* *
*/ */
DWORD INTERNET_WorkerThreadFunc(LPVOID *lpvParam) static DWORD INTERNET_WorkerThreadFunc(LPVOID *lpvParam)
{ {
DWORD dwWaitRes; DWORD dwWaitRes;
...@@ -2441,7 +2441,7 @@ DWORD INTERNET_WorkerThreadFunc(LPVOID *lpvParam) ...@@ -2441,7 +2441,7 @@ DWORD INTERNET_WorkerThreadFunc(LPVOID *lpvParam)
* RETURNS * RETURNS
* *
*/ */
BOOL INTERNET_InsertWorkRequest(LPWORKREQUEST lpWorkRequest) static BOOL INTERNET_InsertWorkRequest(LPWORKREQUEST lpWorkRequest)
{ {
BOOL bSuccess = FALSE; BOOL bSuccess = FALSE;
LPWORKREQUEST lpNewRequest; LPWORKREQUEST lpNewRequest;
...@@ -2481,7 +2481,7 @@ BOOL INTERNET_InsertWorkRequest(LPWORKREQUEST lpWorkRequest) ...@@ -2481,7 +2481,7 @@ BOOL INTERNET_InsertWorkRequest(LPWORKREQUEST lpWorkRequest)
* RETURNS * RETURNS
* *
*/ */
BOOL INTERNET_GetWorkRequest(LPWORKREQUEST lpWorkRequest) static BOOL INTERNET_GetWorkRequest(LPWORKREQUEST lpWorkRequest)
{ {
BOOL bSuccess = FALSE; BOOL bSuccess = FALSE;
LPWORKREQUEST lpRequest = NULL; LPWORKREQUEST lpRequest = NULL;
...@@ -2560,7 +2560,7 @@ lerror: ...@@ -2560,7 +2560,7 @@ lerror:
* RETURNS * RETURNS
* *
*/ */
static VOID INTERNET_ExecuteWork() static VOID INTERNET_ExecuteWork(void)
{ {
WORKREQUEST workRequest; WORKREQUEST workRequest;
...@@ -2786,7 +2786,7 @@ static VOID INTERNET_ExecuteWork() ...@@ -2786,7 +2786,7 @@ static VOID INTERNET_ExecuteWork()
* RETURNS * RETURNS
* *
*/ */
LPSTR INTERNET_GetResponseBuffer() LPSTR INTERNET_GetResponseBuffer(void)
{ {
LPWITHREADERROR lpwite = (LPWITHREADERROR)TlsGetValue(g_dwTlsErrIndex); LPWITHREADERROR lpwite = (LPWITHREADERROR)TlsGetValue(g_dwTlsErrIndex);
TRACE("\n"); TRACE("\n");
......
...@@ -72,7 +72,7 @@ static HMMIO get_mmioFromProfile(UINT uFlags, LPCWSTR lpszName) ...@@ -72,7 +72,7 @@ static HMMIO get_mmioFromProfile(UINT uFlags, LPCWSTR lpszName)
static const WCHAR wszNull[] = {0}; static const WCHAR wszNull[] = {0};
TRACE("searching in SystemSound list for %s\n", debugstr_w(lpszName)); TRACE("searching in SystemSound list for %s\n", debugstr_w(lpszName));
GetProfileStringW(wszSounds, (LPWSTR)lpszName, wszNull, str, sizeof(str)/sizeof(str[0])); GetProfileStringW(wszSounds, lpszName, wszNull, str, sizeof(str)/sizeof(str[0]));
if (lstrlenW(str) == 0) if (lstrlenW(str) == 0)
{ {
if (uFlags & SND_NODEFAULT) goto next; if (uFlags & SND_NODEFAULT) goto next;
...@@ -420,7 +420,7 @@ errCleanUp: ...@@ -420,7 +420,7 @@ errCleanUp:
return bRet; return bRet;
} }
BOOL MULTIMEDIA_PlaySound(const void* pszSound, HMODULE hmod, DWORD fdwSound, BOOL bUnicode) static BOOL MULTIMEDIA_PlaySound(const void* pszSound, HMODULE hmod, DWORD fdwSound, BOOL bUnicode)
{ {
WINE_PLAYSOUND* wps = NULL; WINE_PLAYSOUND* wps = NULL;
......
...@@ -627,8 +627,6 @@ if (err<0) { \ ...@@ -627,8 +627,6 @@ if (err<0) { \
if (!sw) if (!sw)
return; return;
} }
/* return a string duplicated on the win32 process heap, free with HeapFree */ /* return a string duplicated on the win32 process heap, free with HeapFree */
...@@ -644,7 +642,7 @@ static char* ALSA_strdup(char *s) { ...@@ -644,7 +642,7 @@ static char* ALSA_strdup(char *s) {
* Returns either "default" or reads the registry so the user can * Returns either "default" or reads the registry so the user can
* override the playback/record device used. * override the playback/record device used.
*/ */
char *ALSA_GetDeviceFromReg(char *value) static char *ALSA_GetDeviceFromReg(char *value)
{ {
DWORD res; DWORD res;
DWORD type; DWORD type;
...@@ -1323,7 +1321,7 @@ static DWORD wodPlayer_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force) ...@@ -1323,7 +1321,7 @@ static DWORD wodPlayer_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
} }
void wait_for_poll(snd_pcm_t *handle, struct pollfd *ufds, unsigned int count) static void wait_for_poll(snd_pcm_t *handle, struct pollfd *ufds, unsigned int count)
{ {
unsigned short revents; unsigned short revents;
......
...@@ -1084,7 +1084,7 @@ static DWORD modReset(WORD wDevID) ...@@ -1084,7 +1084,7 @@ static DWORD modReset(WORD wDevID)
* *
* Helper for ALSA_MidiInit * Helper for ALSA_MidiInit
*/ */
void ALSA_AddMidiPort(snd_seq_client_info_t* cinfo, snd_seq_port_info_t* pinfo, int cap, int type) static void ALSA_AddMidiPort(snd_seq_client_info_t* cinfo, snd_seq_port_info_t* pinfo, int cap, int type)
{ {
if (cap & SND_SEQ_PORT_CAP_WRITE) { if (cap & SND_SEQ_PORT_CAP_WRITE) {
TRACE("OUT (%d:%s:%s:%d:%s:%x)\n",snd_seq_client_info_get_client(cinfo), TRACE("OUT (%d:%s:%s:%d:%s:%x)\n",snd_seq_client_info_get_client(cinfo),
......
...@@ -276,7 +276,7 @@ static DWORD bytes_to_mmtime(LPMMTIME lpTime, DWORD position, ...@@ -276,7 +276,7 @@ static DWORD bytes_to_mmtime(LPMMTIME lpTime, DWORD position,
/* Volume functions derived from Alsaplayer source */ /* Volume functions derived from Alsaplayer source */
/* length is the number of 16 bit samples */ /* length is the number of 16 bit samples */
void volume_effect16(void *bufin, void* bufout, int length, int left, static void volume_effect16(void *bufin, void* bufout, int length, int left,
int right, int nChannels) int right, int nChannels)
{ {
short *d_out = (short *)bufout; short *d_out = (short *)bufout;
...@@ -302,7 +302,7 @@ void volume_effect16(void *bufin, void* bufout, int length, int left, ...@@ -302,7 +302,7 @@ void volume_effect16(void *bufin, void* bufout, int length, int left,
} }
/* length is the number of 8 bit samples */ /* length is the number of 8 bit samples */
void volume_effect8(void *bufin, void* bufout, int length, int left, static void volume_effect8(void *bufin, void* bufout, int length, int left,
int right, int nChannels) int right, int nChannels)
{ {
BYTE *d_out = (BYTE *)bufout; BYTE *d_out = (BYTE *)bufout;
...@@ -331,7 +331,7 @@ void volume_effect8(void *bufin, void* bufout, int length, int left, ...@@ -331,7 +331,7 @@ void volume_effect8(void *bufin, void* bufout, int length, int left,
* ARTS_CloseWaveOutDevice * ARTS_CloseWaveOutDevice
* *
*/ */
void ARTS_CloseWaveOutDevice(WINE_WAVEOUT* wwo) static void ARTS_CloseWaveOutDevice(WINE_WAVEOUT* wwo)
{ {
arts_close_stream(wwo->play_stream); /* close the arts stream */ arts_close_stream(wwo->play_stream); /* close the arts stream */
wwo->play_stream = (arts_stream_t*)-1; wwo->play_stream = (arts_stream_t*)-1;
...@@ -350,7 +350,7 @@ void ARTS_CloseWaveOutDevice(WINE_WAVEOUT* wwo) ...@@ -350,7 +350,7 @@ void ARTS_CloseWaveOutDevice(WINE_WAVEOUT* wwo)
* ARTS_CloseWaveInDevice * ARTS_CloseWaveInDevice
* *
*/ */
void ARTS_CloseWaveInDevice(WINE_WAVEIN* wwi) static void ARTS_CloseWaveInDevice(WINE_WAVEIN* wwi)
{ {
arts_close_stream(wwi->record_stream); /* close the arts stream */ arts_close_stream(wwi->record_stream); /* close the arts stream */
wwi->record_stream = (arts_stream_t*)-1; wwi->record_stream = (arts_stream_t*)-1;
......
...@@ -330,10 +330,10 @@ static DWORD bytes_to_mmtime(LPMMTIME lpTime, DWORD position, ...@@ -330,10 +330,10 @@ static DWORD bytes_to_mmtime(LPMMTIME lpTime, DWORD position,
/*======================================================================* /*======================================================================*
* Low level WAVE implementation * * Low level WAVE implementation *
*======================================================================*/ *======================================================================*/
#if 0
/* Volume functions derived from Alsaplayer source */ /* Volume functions derived from Alsaplayer source */
/* length is the number of 16 bit samples */ /* length is the number of 16 bit samples */
void volume_effect16(void *bufin, void* bufout, int length, int left, static void volume_effect16(void *bufin, void* bufout, int length, int left,
int right, int nChannels) int right, int nChannels)
{ {
short *d_out = (short *)bufout; short *d_out = (short *)bufout;
...@@ -359,7 +359,7 @@ void volume_effect16(void *bufin, void* bufout, int length, int left, ...@@ -359,7 +359,7 @@ void volume_effect16(void *bufin, void* bufout, int length, int left,
} }
/* length is the number of 8 bit samples */ /* length is the number of 8 bit samples */
void volume_effect8(void *bufin, void* bufout, int length, int left, static void volume_effect8(void *bufin, void* bufout, int length, int left,
int right, int nChannels) int right, int nChannels)
{ {
char *d_out = (char *)bufout; char *d_out = (char *)bufout;
...@@ -383,12 +383,13 @@ void volume_effect8(void *bufin, void* bufout, int length, int left, ...@@ -383,12 +383,13 @@ void volume_effect8(void *bufin, void* bufout, int length, int left,
} }
} }
} }
#endif
/****************************************************************** /******************************************************************
* NAS_CloseDevice * NAS_CloseDevice
* *
*/ */
void NAS_CloseDevice(WINE_WAVEOUT* wwo) static void NAS_CloseDevice(WINE_WAVEOUT* wwo)
{ {
TRACE("NAS_CloseDevice\n"); TRACE("NAS_CloseDevice\n");
nas_close(wwo); nas_close(wwo);
......
...@@ -320,7 +320,7 @@ static VOID CLOCK_Paint(HWND hWnd) ...@@ -320,7 +320,7 @@ static VOID CLOCK_Paint(HWND hWnd)
* CLOCK_WndProc * CLOCK_WndProc
*/ */
LRESULT WINAPI CLOCK_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) static LRESULT WINAPI CLOCK_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{ {
switch (msg) { switch (msg) {
/* L button drag moves the window */ /* L button drag moves the window */
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "params.h" #include "params.h"
extern void WINAPI Control_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow); extern void WINAPI Control_RunDLL(HWND hWnd, HINSTANCE hInst, LPCSTR cmd, DWORD nCmdShow);
void launch(const char *what) static void launch(const char *what)
{ {
Control_RunDLL(GetDesktopWindow(), 0, what, SW_SHOW); Control_RunDLL(GetDesktopWindow(), 0, what, SW_SHOW);
exit(0); exit(0);
......
...@@ -157,7 +157,7 @@ static int change_channel_CB(HANDLE hProcess, void* addr, char* buffer, void* pm ...@@ -157,7 +157,7 @@ static int change_channel_CB(HANDLE hProcess, void* addr, char* buffer, void* pm
return 1; return 1;
} }
void* get_symbol(HANDLE hProcess, char* name, char* lib) static void* get_symbol(HANDLE hProcess, char* name, char* lib)
{ {
char buffer[sizeof(IMAGEHLP_SYMBOL) + 256]; char buffer[sizeof(IMAGEHLP_SYMBOL) + 256];
SYMBOL_INFO* si = (SYMBOL_INFO*)buffer; SYMBOL_INFO* si = (SYMBOL_INFO*)buffer;
......
...@@ -31,7 +31,7 @@ int deltax = 0, deltay = 0; ...@@ -31,7 +31,7 @@ int deltax = 0, deltay = 0;
int width = 0, height = 0; int width = 0, height = 0;
BOOL isAldus; BOOL isAldus;
BOOL FileOpen(HWND hWnd, char *fn, int fnsz) static BOOL FileOpen(HWND hWnd, char *fn, int fnsz)
{ {
OPENFILENAME ofn = { sizeof(OPENFILENAME), OPENFILENAME ofn = { sizeof(OPENFILENAME),
0, 0, NULL, NULL, 0, 0, NULL, 0, 0, NULL, NULL, 0, 0, NULL,
......
...@@ -515,7 +515,7 @@ int status; ...@@ -515,7 +515,7 @@ int status;
* *
* Make a copy of the environment. * Make a copy of the environment.
*/ */
WCHAR *WCMD_dupenv( const WCHAR *env ) static WCHAR *WCMD_dupenv( const WCHAR *env )
{ {
WCHAR *env_copy; WCHAR *env_copy;
int len; int len;
...@@ -575,7 +575,7 @@ void WCMD_setlocal (const char *s) { ...@@ -575,7 +575,7 @@ void WCMD_setlocal (const char *s) {
/***************************************************************************** /*****************************************************************************
* WCMD_strchrW * WCMD_strchrW
*/ */
inline WCHAR *WCMD_strchrW(WCHAR *str, WCHAR ch) static inline WCHAR *WCMD_strchrW(WCHAR *str, WCHAR ch)
{ {
while(*str) while(*str)
{ {
...@@ -757,7 +757,7 @@ DWORD count; ...@@ -757,7 +757,7 @@ DWORD count;
/**************************************************************************** /****************************************************************************
* WCMD_compare * WCMD_compare
*/ */
int WCMD_compare( const void *a, const void *b ) static int WCMD_compare( const void *a, const void *b )
{ {
int r; int r;
const char * const *str_a = a, * const *str_b = b; const char * const *str_a = a, * const *str_b = b;
...@@ -773,7 +773,7 @@ int WCMD_compare( const void *a, const void *b ) ...@@ -773,7 +773,7 @@ int WCMD_compare( const void *a, const void *b )
* *
* sort variables into order for display * sort variables into order for display
*/ */
void WCMD_setshow_sortenv(const char *s) static void WCMD_setshow_sortenv(const char *s)
{ {
UINT count=0, len=0, i; UINT count=0, len=0, i;
const char **str; const char **str;
......
...@@ -267,7 +267,7 @@ static void WCCURSES_PosCursor(const struct inner_data* data) ...@@ -267,7 +267,7 @@ static void WCCURSES_PosCursor(const struct inner_data* data)
* *
* Sets a new shape for the cursor * Sets a new shape for the cursor
*/ */
void WCCURSES_ShapeCursor(struct inner_data* data, int size, int vis, BOOL force) static void WCCURSES_ShapeCursor(struct inner_data* data, int size, int vis, BOOL force)
{ {
/* we can't do much about the size... */ /* we can't do much about the size... */
data->curcfg.cursor_size = size; data->curcfg.cursor_size = size;
...@@ -280,7 +280,7 @@ void WCCURSES_ShapeCursor(struct inner_data* data, int size, int vis, BOOL force ...@@ -280,7 +280,7 @@ void WCCURSES_ShapeCursor(struct inner_data* data, int size, int vis, BOOL force
* *
* Recomputes all the components (mainly scroll bars) positions * Recomputes all the components (mainly scroll bars) positions
*/ */
void WCCURSES_ComputePositions(struct inner_data* data) static void WCCURSES_ComputePositions(struct inner_data* data)
{ {
int x, y; int x, y;
......
...@@ -202,7 +202,7 @@ static void WCUSER_ShapeCursor(struct inner_data* data, int size, int vis, BOOL ...@@ -202,7 +202,7 @@ static void WCUSER_ShapeCursor(struct inner_data* data, int size, int vis, BOOL
* *
* Recomputes all the components (mainly scroll bars) positions * Recomputes all the components (mainly scroll bars) positions
*/ */
void WCUSER_ComputePositions(struct inner_data* data) static void WCUSER_ComputePositions(struct inner_data* data)
{ {
RECT r; RECT r;
int dx, dy; int dx, dy;
...@@ -1299,7 +1299,7 @@ static LRESULT CALLBACK WCUSER_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM ...@@ -1299,7 +1299,7 @@ static LRESULT CALLBACK WCUSER_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
* *
* *
*/ */
void WCUSER_DeleteBackend(struct inner_data* data) static void WCUSER_DeleteBackend(struct inner_data* data)
{ {
if (!PRIVATE(data)) return; if (!PRIVATE(data)) return;
if (PRIVATE(data)->hMemDC) DeleteDC(PRIVATE(data)->hMemDC); if (PRIVATE(data)->hMemDC) DeleteDC(PRIVATE(data)->hMemDC);
......
...@@ -40,7 +40,7 @@ typedef LPSTR (*wine_get_unix_file_name_t) ( LPCWSTR dos ); ...@@ -40,7 +40,7 @@ typedef LPSTR (*wine_get_unix_file_name_t) ( LPCWSTR dos );
/* /*
* handle an option * handle an option
*/ */
int option(int shortopt, char *longopt) static int option(int shortopt, char *longopt)
{ {
const char *helpmsg = const char *helpmsg =
"Convert PATH(s) to Unix or Windows long or short paths.\n" "Convert PATH(s) to Unix or Windows long or short paths.\n"
...@@ -83,7 +83,7 @@ int option(int shortopt, char *longopt) ...@@ -83,7 +83,7 @@ int option(int shortopt, char *longopt)
/* /*
* Parse command line options * Parse command line options
*/ */
int parse_options(char *argv[]) static int parse_options(char *argv[])
{ {
int outputformats = 0; int outputformats = 0;
int done = 0; int done = 0;
......
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