style: fix functions definitions

This is to fix old style functions definitions.

Change-Id: I094b1497dcf948d4d8de4d57d93878aa092ea053
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Elyes Haouas 2023-02-13 10:38:45 +01:00 committed by Manish Pandey
parent 521d4fe676
commit 2535e2047f
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); bool check_boot_mode_secure(uint32_t *mode);
const soc_info_t *get_soc_info(); const soc_info_t *get_soc_info(void);
const devdisr5_info_t *get_devdisr5_info(); const devdisr5_info_t *get_devdisr5_info(void);
void dcfg_init(dcfg_init_info_t *dcfg_init_data); void dcfg_init(dcfg_init_info_t *dcfg_init_data);
bool is_sec_enabled(void); 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. combinations of CRC register values and incoming bytes.
*/ */
local void make_crc_table() local void make_crc_table(void)
{ {
unsigned i, j, n; unsigned i, j, n;
z_crc_t p; z_crc_t p;
@ -498,7 +498,7 @@ local void write_table64(out, table, k)
} }
/* Actually do the deed. */ /* Actually do the deed. */
int main() int main(void)
{ {
make_crc_table(); make_crc_table();
return 0; return 0;

View file

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