build: OpenBSD 7.7's SSL matches these signatures again.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m57s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m57s
This commit is contained in:
parent
bdfd8925b5
commit
9d3a07c1cf
12
src/mem.c
12
src/mem.c
@ -386,29 +386,17 @@ size_t tf_mem_get_uv_malloc_size()
|
|||||||
return s_uv_malloc_size;
|
return s_uv_malloc_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__OpenBSD__)
|
|
||||||
static void* _tf_tls_alloc(size_t size)
|
|
||||||
#else
|
|
||||||
static void* _tf_tls_alloc(size_t size, const char* file, int line)
|
static void* _tf_tls_alloc(size_t size, const char* file, int line)
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
return _tf_alloc(&s_tls_malloc_size, size);
|
return _tf_alloc(&s_tls_malloc_size, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__OpenBSD__)
|
|
||||||
static void* _tf_tls_realloc(void* ptr, size_t size)
|
|
||||||
#else
|
|
||||||
static void* _tf_tls_realloc(void* ptr, size_t size, const char* file, int line)
|
static void* _tf_tls_realloc(void* ptr, size_t size, const char* file, int line)
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
return _tf_realloc(&s_tls_malloc_size, ptr, size);
|
return _tf_realloc(&s_tls_malloc_size, ptr, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__OpenBSD__)
|
|
||||||
static void _tf_tls_free(void* ptr)
|
|
||||||
#else
|
|
||||||
static void _tf_tls_free(void* ptr, const char* file, int line)
|
static void _tf_tls_free(void* ptr, const char* file, int line)
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
_tf_free(&s_tls_malloc_size, ptr);
|
_tf_free(&s_tls_malloc_size, ptr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user