WINMM: make some functions static

Mike McCormack mike at codeweavers.com
Fri Jun 17 23:48:00 CDT 2005


ChangeLog:
* make some functions static
-------------- next part --------------
Index: dlls/winmm/tests/timer.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/tests/timer.c,v
retrieving revision 1.6
diff -u -p -r1.6 timer.c
--- dlls/winmm/tests/timer.c	17 Jun 2005 10:11:37 -0000	1.6
+++ dlls/winmm/tests/timer.c	18 Jun 2005 04:49:58 -0000
@@ -142,7 +142,7 @@ static void test_timer(UINT period, UINT
           dwMin, dwMax, sum / (count - 1), sqrt(deviation / (count - 2)));
 }
 
-const char * get_priority(int priority)
+static const char * get_priority(int priority)
 {
     static char     tmp[32];
 #define STR(x) case x: return #x
@@ -162,14 +162,14 @@ const char * get_priority(int priority)
 static int priority = 0;
 static BOOL fired = FALSE;
 
-void CALLBACK priorityTimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
+static void CALLBACK priorityTimeProc(UINT uID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
 {
     priority = GetThreadPriority(GetCurrentThread());
     ok(priority!=THREAD_PRIORITY_ERROR_RETURN, "GetThreadPriority() failed, GetLastError() = %08lx\n", GetLastError());
     fired = TRUE;
 }
 
-void test_priority(void)
+static void test_priority(void)
 {
     UINT id;
 


More information about the wine-patches mailing list