crypt32: Move a couple of functions to avoid forward declarations.

Francois Gouget fgouget at free.fr
Tue Nov 15 07:37:05 CST 2011


---
 dlls/crypt32/oid.c |   26 +++++++++++---------------
 1 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index d6b26f7..e5d61f5 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -37,21 +37,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(crypt);
 
 static const WCHAR DllW[] = { 'D','l','l',0 };
 
-static void init_oid_info(void);
-static void free_function_sets(void);
-static void free_oid_info(void);
-
-void crypt_oid_init(void)
-{
-    init_oid_info();
-}
-
-void crypt_oid_free(void)
-{
-    free_function_sets();
-    free_oid_info();
-}
-
 static CRITICAL_SECTION funcSetCS;
 static CRITICAL_SECTION_DEBUG funcSetCSDebug =
 {
@@ -1618,3 +1603,14 @@ DWORD WINAPI CertOIDToAlgId(LPCSTR pszObjId)
         ret = 0;
     return ret;
 }
+
+void crypt_oid_init(void)
+{
+    init_oid_info();
+}
+
+void crypt_oid_free(void)
+{
+    free_function_sets();
+    free_oid_info();
+}
-- 
1.7.7.1



More information about the wine-patches mailing list