mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-02-07 14:14:10 +08:00
Add static for prv functions
This commit is contained in:
parent
6a19a756ab
commit
257f0ee42f
@ -424,7 +424,7 @@ prv_free(lwmem_t* const lw, void* const ptr) {
|
||||
* \param[in] size: Size of new memory to reallocate
|
||||
* \return Pointer to allocated memory on success, `NULL` otherwise
|
||||
*/
|
||||
void *
|
||||
static void *
|
||||
prv_realloc(lwmem_t* const lw, const lwmem_region_t* region, void* const ptr, const size_t size) {
|
||||
lwmem_block_t* block, *prevprev, *prev;
|
||||
size_t block_size; /* Holds size of input block (ptr), including metadata size */
|
||||
|
Loading…
x
Reference in New Issue
Block a user