Add static for prv functions

This commit is contained in:
Tilen Majerle 2020-06-25 23:21:17 +02:00
parent 6a19a756ab
commit 257f0ee42f

View File

@ -424,7 +424,7 @@ prv_free(lwmem_t* const lw, void* const ptr) {
* \param[in] size: Size of new memory to reallocate * \param[in] size: Size of new memory to reallocate
* \return Pointer to allocated memory on success, `NULL` otherwise * \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) { prv_realloc(lwmem_t* const lw, const lwmem_region_t* region, void* const ptr, const size_t size) {
lwmem_block_t* block, *prevprev, *prev; lwmem_block_t* block, *prevprev, *prev;
size_t block_size; /* Holds size of input block (ptr), including metadata size */ size_t block_size; /* Holds size of input block (ptr), including metadata size */