[PATCH] made some functions static

Marcus Meissner marcus at jet.franken.de
Sun Dec 10 08:53:17 CST 2006


---
 dlls/oleaut32/tests/olefont.c   |    8 ++++----
 dlls/oleaut32/tests/safearray.c |    2 +-
 dlls/oleaut32/tests/vartype.c   |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index b3e5251..5a02502 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -114,7 +114,7 @@ static void test_ifont_sizes(long lo_siz
 	IFont_Release(ifnt);
 }
 
-void test_QueryInterface(void)
+static void test_QueryInterface(void)
 {
         LPVOID pvObj = NULL;
         HRESULT hres;
@@ -143,7 +143,7 @@ void test_QueryInterface(void)
         IFont_Release(font);
 }
 
-void test_type_info(void)
+static void test_type_info(void)
 {
         LPVOID pvObj = NULL;
         HRESULT hres;
@@ -324,7 +324,7 @@ static void test_font_events_disp(void)
     IFont_Release(pFont2);
 }
 
-void test_names_ids(WCHAR* w_name_1, const char* a_name_1,
+static void test_names_ids(WCHAR* w_name_1, const char* a_name_1,
                     WCHAR* w_name_2, const char* a_name_2,
                     LCID lcid, DISPID id_1, DISPID id_2,
                     HRESULT hres_expect, int numnames)
@@ -362,7 +362,7 @@ void test_names_ids(WCHAR* w_name_1, con
    IFontDisp_Release(fontdisp);
 }
 
-void test_GetIDsOfNames(void)
+static void test_GetIDsOfNames(void)
 {
     WCHAR name_Name[] = {'N','a','m','e',0};
     WCHAR name_Italic[] = {'I','t','a','l','i','c',0};
diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index f98932b..41ee3cb 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -64,7 +64,7 @@ static SAFEARRAY* (WINAPI *pSafeArrayCre
 /* Have the decimal type? */
 #define HAVE_OLEAUT32_DECIMAL HAVE_FUNC(VarDecAdd)
 /* Have INT_PTR/UINT_PTR type? */
-BOOL HAVE_OLEAUT32_INT_PTR;
+static BOOL HAVE_OLEAUT32_INT_PTR;
 
 /* very old version? */
 #define IS_ANCIENT (!HAVE_FUNC(VarI1FromI2))
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 5246199..efc513b 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -69,7 +69,7 @@ static HMODULE hOleaut32;
 
 /* Macro for setting typ and initializing */
 /* First some dummy definitions*/
-int val_empty, val_null; 
+static int val_empty, val_null; 
 
 #define V_EMPTY(x) val_empty
 #define V_NULL(x) val_null
-- 
1.4.3.4



More information about the wine-patches mailing list