Add missing statics, and remove the 'tildefriends check' command.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4838 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2024-02-10 16:50:00 +00:00
parent 51a327c52d
commit 6c5a7b0751
17 changed files with 93 additions and 304 deletions

View File

@ -398,27 +398,27 @@ size_t tf_mem_get_uv_malloc_size()
}
#if defined(__OpenBSD__)
void* _tf_tls_alloc(size_t size)
static void* _tf_tls_alloc(size_t size)
#else
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);
}
#if defined(__OpenBSD__)
void* _tf_tls_realloc(void* ptr, size_t size)
static void* _tf_tls_realloc(void* ptr, size_t size)
#else
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);
}
#if defined(__OpenBSD__)
void _tf_tls_free(void* ptr)
static void _tf_tls_free(void* ptr)
#else
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);