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:
parent
226ace7bb6
commit
ad4d883c4f
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user