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

@@ -41,7 +41,7 @@ extern "C" {
* no need to call it from application code.
*
*/
void spi_flash_init();
void spi_flash_init(void);
/**
* @brief Get flash chip size, as set in binary image header
@@ -50,7 +50,7 @@ void spi_flash_init();
*
* @return size of flash chip, in bytes
*/
size_t spi_flash_get_chip_size();
size_t spi_flash_get_chip_size(void);
/**
* @brief Erase the Flash sector.
@@ -238,7 +238,7 @@ void spi_flash_munmap(spi_flash_mmap_handle_t handle);
* of pages allocated to each handle. It also lists all non-zero entries of
* MMU table and corresponding reference counts.
*/
void spi_flash_mmap_dump();
void spi_flash_mmap_dump(void);
/**
* @brief get free pages number which can be mmap
@@ -293,7 +293,7 @@ const void *spi_flash_phys2cache(size_t phys_offs, spi_flash_mmap_memory_t memor
*
* @return true if both CPUs have flash cache enabled, false otherwise.
*/
bool spi_flash_cache_enabled();
bool spi_flash_cache_enabled(void);
/**
* @brief SPI flash critical section enter function.
@@ -374,7 +374,7 @@ void spi_flash_guard_set(const spi_flash_guard_funcs_t* funcs);
* @return The guard functions that were set via spi_flash_guard_set(). These functions
* can be called if implementing custom low-level SPI flash operations.
*/
const spi_flash_guard_funcs_t *spi_flash_guard_get();
const spi_flash_guard_funcs_t *spi_flash_guard_get(void);
/**
* @brief Default OS-aware flash access guard functions
@@ -409,12 +409,12 @@ typedef struct {
/**
* @brief Reset SPI flash operation counters
*/
void spi_flash_reset_counters();
void spi_flash_reset_counters(void);
/**
* @brief Print SPI flash operation counters
*/
void spi_flash_dump_counters();
void spi_flash_dump_counters(void);
/**
* @brief Return current SPI flash operation counters
@@ -422,7 +422,7 @@ void spi_flash_dump_counters();
* @return pointer to the spi_flash_counters_t structure holding values
* of the operation counters
*/
const spi_flash_counters_t* spi_flash_get_counters();
const spi_flash_counters_t* spi_flash_get_counters(void);
#endif //CONFIG_SPI_FLASH_ENABLE_COUNTERS