Skip to content

Commit 1017d91

Browse files
shiqingglijinxia
authored andcommitted
hv: treewide: fix 'Empty parameter list to procedure/function'
Use func(void) rather than func() for the function declaration and definition based on MISRAC requirement. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
1 parent 7a4dcfc commit 1017d91

File tree

1 file changed

+2
-2
lines changed
  • hypervisor/include/arch/x86

1 file changed

+2
-2
lines changed

hypervisor/include/arch/x86/cpu.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ bool cpu_has_cap(uint32_t bit);
331331
void load_cpu_state_data(void);
332332
void bsp_boot_init(void);
333333
void cpu_secondary_init(void);
334-
void start_cpus();
335-
void stop_cpus();
334+
void start_cpus(void);
335+
void stop_cpus(void);
336336
void wait_sync_change(uint64_t *sync, uint64_t wake_sync);
337337

338338
/* Read control register */

0 commit comments

Comments
 (0)