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

Alexandre Julliard julliard at winehq.org
Tue Nov 15 13:17:34 CST 2011


Module: wine
Branch: master
Commit: 9b3bda2b5dca2ba05374a6f327f15999a256d873
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9b3bda2b5dca2ba05374a6f327f15999a256d873

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Nov 15 14:37:05 2011 +0100

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

---

 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();
+}




More information about the wine-cvs mailing list