pkg/tlsf: fix double pointer.

A (void*) function was declared as (void**) because one of the void pointers
was hidden behind a typedef. Because of the way a void* works, this has no
consequences, but it is confusing.
This commit is contained in:
Juan Carrano 2019-08-16 19:17:32 +02:00
parent 226ace7bb6
commit ad4d883c4f
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ int tlsf_add_global_pool(void *mem, size_t bytes);
*
* Use for debugging purposes only.
*/
tlsf_t *_tlsf_get_global_control(void);
tlsf_t _tlsf_get_global_control(void);
#ifdef __cplusplus

View File

@ -60,7 +60,7 @@ int tlsf_add_global_pool(void *mem, size_t bytes)
}
}
tlsf_t *_tlsf_get_global_control(void)
tlsf_t _tlsf_get_global_control(void)
{
return gheap;
}