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

@@ -29,7 +29,7 @@ static const char *TAG = "i2c-tools";
#define MOUNT_PATH "/data"
#define HISTORY_PATH MOUNT_PATH "/history.txt"
static void initialize_filesystem()
static void initialize_filesystem(void)
{
static wl_handle_t wl_handle;
const esp_vfs_fat_mount_config_t mount_config = {
@@ -44,7 +44,7 @@ static void initialize_filesystem()
}
#endif // CONFIG_EXAMPLE_STORE_HISTORY
static void initialize_nvs()
static void initialize_nvs(void)
{
esp_err_t err = nvs_flash_init();
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
@@ -54,7 +54,7 @@ static void initialize_nvs()
ESP_ERROR_CHECK(err);
}
static void initialize_console()
static void initialize_console(void)
{
/* Disable buffering on stdin */
setvbuf(stdin, NULL, _IONBF, 0);
@@ -109,7 +109,7 @@ static void initialize_console()
#endif
}
void app_main()
void app_main(void)
{
initialize_nvs();