Add parameter names to function declarations. (#1498)
It's generally considered a bad programming practice to have function declarations without parameter names. This is another legacy from the early days of the project. Fix in one go to minimize history disruption. Used a custom clang-tidy check to create the bulk of the change. JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
|
||||
void jmem_heap_init (void);
|
||||
void jmem_heap_finalize (void);
|
||||
void *jmem_heap_alloc_block (const size_t);
|
||||
void *jmem_heap_alloc_block_null_on_error (const size_t);
|
||||
void jmem_heap_free_block (void *, const size_t);
|
||||
bool jmem_is_heap_pointer (const void *);
|
||||
void *jmem_heap_alloc_block (const size_t size);
|
||||
void *jmem_heap_alloc_block_null_on_error (const size_t size);
|
||||
void jmem_heap_free_block (void *ptr, const size_t size);
|
||||
bool jmem_is_heap_pointer (const void *pointer);
|
||||
|
||||
#ifdef JMEM_STATS
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user