Change prototypes for new CRYPTO_..._mem_ex_functions functions so
authorBodo Möller <bodo@openssl.org>
Wed, 10 Jan 2001 14:10:17 +0000 (14:10 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 10 Jan 2001 14:10:17 +0000 (14:10 +0000)
that they match the function definitions (namely, remove file/line
parameters from free_func).

crypto/crypto.h

index 328b0e86e723ac247e167f48e0c64e5e691b5f7b..d5a397a63daffa10a849d736ef887deba1ada761 100644 (file)
@@ -322,9 +322,9 @@ int CRYPTO_set_mem_functions(void *(*m)(size_t),void *(*r)(void *,size_t), void
 int CRYPTO_set_locked_mem_functions(void *(*m)(size_t), void (*free_func)(void *));
 int CRYPTO_set_mem_ex_functions(void *(*m)(size_t,const char *,int),
                                 void *(*r)(void *,size_t,const char *,int),
-                                void (*f)(void *,const char *,int));
+                                void (*f)(void *));
 int CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t,const char *,int),
-                                       void (*free_func)(void *,const char *,int));
+                                       void (*free_func)(void *));
 int CRYPTO_set_mem_debug_functions(void (*m)(void *,int,const char *,int,int),
                                   void (*r)(void *,void *,int,const char *,int,int),
                                   void (*f)(void *,int),
@@ -334,9 +334,9 @@ void CRYPTO_get_mem_functions(void *(**m)(size_t),void *(**r)(void *, size_t), v
 void CRYPTO_get_locked_mem_functions(void *(**m)(size_t), void (**f)(void *));
 void CRYPTO_get_mem_ex_functions(void *(**m)(size_t,const char *,int),
                                  void *(**r)(void *, size_t,const char *,int),
-                                 void (**f)(void *,const char *,int));
+                                 void (**f)(void *));
 void CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t,const char *,int),
-                                        void (**f)(void *,const char *,int));
+                                        void (**f)(void *));
 void CRYPTO_get_mem_debug_functions(void (**m)(void *,int,const char *,int,int),
                                    void (**r)(void *,void *,int,const char *,int,int),
                                    void (**f)(void *,int),