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,11 +30,11 @@ extern "C"
|
||||
* @{
|
||||
*/
|
||||
|
||||
void jerry_port_default_set_abort_on_fail (bool);
|
||||
void jerry_port_default_set_abort_on_fail (bool flag);
|
||||
bool jerry_port_default_is_abort_on_fail (void);
|
||||
|
||||
jerry_log_level_t jerry_port_default_get_log_level (void);
|
||||
void jerry_port_default_set_log_level (jerry_log_level_t);
|
||||
void jerry_port_default_set_log_level (jerry_log_level_t level);
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user