Merge "style: fix functions definitions" into integration

This commit is contained in:
Madhukar Pappireddy 2023-03-13 15:20:26 +01:00 committed by TrustedFirmware Code Review
commit 7b25a5a515
3 changed files with 5 additions and 5 deletions

View file

@ -93,8 +93,8 @@ uint32_t read_reg_porsr1(void);
******************************************************************************/
bool check_boot_mode_secure(uint32_t *mode);
const soc_info_t *get_soc_info();
const devdisr5_info_t *get_devdisr5_info();
const soc_info_t *get_soc_info(void);
const devdisr5_info_t *get_devdisr5_info(void);
void dcfg_init(dcfg_init_info_t *dcfg_init_data);
bool is_sec_enabled(void);

View file

@ -279,7 +279,7 @@ local once_t made = ONCE_INIT;
combinations of CRC register values and incoming bytes.
*/
local void make_crc_table()
local void make_crc_table(void)
{
unsigned i, j, n;
z_crc_t p;
@ -498,7 +498,7 @@ local void write_table64(out, table, k)
}
/* Actually do the deed. */
int main()
int main(void)
{
make_crc_table();
return 0;

View file

@ -342,7 +342,7 @@ struct inflate_state FAR *state;
a.out > inffixed.h
*/
void makefixed()
void makefixed(void)
{
unsigned low, size;
struct inflate_state state;