tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)

This commit is contained in:
Anton Maklakov
2019-07-16 16:33:30 +07:00
parent 50629eec27
commit afbaf74007
507 changed files with 1295 additions and 1295 deletions

View File

@@ -30,17 +30,17 @@
static const char *TAG = "cmd_system";
static void register_free();
static void register_heap();
static void register_version();
static void register_restart();
static void register_deep_sleep();
static void register_light_sleep();
static void register_free(void);
static void register_heap(void);
static void register_version(void);
static void register_restart(void);
static void register_deep_sleep(void);
static void register_light_sleep(void);
#if WITH_TASKS_INFO
static void register_tasks();
static void register_tasks(void);
#endif
void register_system()
void register_system(void)
{
register_free();
register_heap();
@@ -72,7 +72,7 @@ static int get_version(int argc, char **argv)
return 0;
}
static void register_version()
static void register_version(void)
{
const esp_console_cmd_t cmd = {
.command = "version",
@@ -91,7 +91,7 @@ static int restart(int argc, char **argv)
esp_restart();
}
static void register_restart()
static void register_restart(void)
{
const esp_console_cmd_t cmd = {
.command = "restart",
@@ -110,7 +110,7 @@ static int free_mem(int argc, char **argv)
return 0;
}
static void register_free()
static void register_free(void)
{
const esp_console_cmd_t cmd = {
.command = "free",
@@ -129,7 +129,7 @@ static int heap_size(int argc, char **argv)
return 0;
}
static void register_heap()
static void register_heap(void)
{
const esp_console_cmd_t heap_cmd = {
.command = "heap",
@@ -163,7 +163,7 @@ static int tasks_info(int argc, char **argv)
return 0;
}
static void register_tasks()
static void register_tasks(void)
{
const esp_console_cmd_t cmd = {
.command = "tasks",
@@ -221,7 +221,7 @@ static int deep_sleep(int argc, char **argv)
esp_deep_sleep_start();
}
static void register_deep_sleep()
static void register_deep_sleep(void)
{
deep_sleep_args.wakeup_time =
arg_int0("t", "time", "<t>", "Wake up time, ms");
@@ -314,7 +314,7 @@ static int light_sleep(int argc, char **argv)
return 0;
}
static void register_light_sleep()
static void register_light_sleep(void)
{
light_sleep_args.wakeup_time =
arg_int0("t", "time", "<t>", "Wake up time, ms");