projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make name_funcs_stack static.
[oweals/openssl.git]
/
crypto
/
mem.c
diff --git
a/crypto/mem.c
b/crypto/mem.c
index 67f8d12cc027fa04ab5a5ef15c09cd3aa0f65d03..5a661e5f45ae4930d5eff2349e7a558d9275371f 100644
(file)
--- a/
crypto/mem.c
+++ b/
crypto/mem.c
@@
-159,7
+159,7
@@
void CRYPTO_get_mem_debug_functions(void (**m)(), void (**r)(), void (**f)(),voi
}
}
-void *CRYPTO_malloc_locked(int num, char *file, int line)
+void *CRYPTO_malloc_locked(int num, c
onst c
har *file, int line)
{
char *ret = NULL;
{
char *ret = NULL;
@@
-191,7
+191,7
@@
void CRYPTO_free_locked(void *str)
free_debug_func(NULL, 1);
}
free_debug_func(NULL, 1);
}
-void *CRYPTO_malloc(int num, char *file, int line)
+void *CRYPTO_malloc(int num, c
onst c
har *file, int line)
{
char *ret = NULL;
{
char *ret = NULL;
@@
-211,7
+211,7
@@
void *CRYPTO_malloc(int num, char *file, int line)
return ret;
}
return ret;
}
-void *CRYPTO_realloc(void *str, int num, char *file, int line)
+void *CRYPTO_realloc(void *str, int num, c
onst c
har *file, int line)
{
char *ret = NULL;
{
char *ret = NULL;
@@
-239,7
+239,7
@@
void CRYPTO_free(void *str)
free_debug_func(NULL, 1);
}
free_debug_func(NULL, 1);
}
-void *CRYPTO_remalloc(void *a, int num, char *file, int line)
+void *CRYPTO_remalloc(void *a, int num, c
onst c
har *file, int line)
{
if (a != NULL) Free(a);
a=(char *)Malloc(num);
{
if (a != NULL) Free(a);
a=(char *)Malloc(num);
@@
-253,7
+253,7
@@
void CRYPTO_set_mem_debug_options(long bits)
set_debug_options_func(bits);
}
set_debug_options_func(bits);
}
-long CRYPTO_get_mem_debug_options()
+long CRYPTO_get_mem_debug_options(
void
)
{
if (get_debug_options_func != NULL)
return get_debug_options_func();
{
if (get_debug_options_func != NULL)
return get_debug_options_func();