From a575eeb29df272c642590f99be18921bea217d5a Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Tue, 8 Jul 2014 15:31:34 -0700 Subject: [PATCH] More fussing with C function prototypes Six more -Wstrict-prototypes updates that I missed on the first pass. The remaining warnings of this type originate in the lz4 code base. --- vpi/sys_fst.c | 6 +++--- vpi/sys_lxt2.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vpi/sys_fst.c b/vpi/sys_fst.c index 56f3f84c5..5d2fe3cf7 100644 --- a/vpi/sys_fst.c +++ b/vpi/sys_fst.c @@ -127,7 +127,7 @@ __inline__ static int dump_header_pending(void) * This function writes out all the traced variables, whether they * changed or not. */ -static void vcd_checkpoint() +static void vcd_checkpoint(void) { struct vcd_info*cur; @@ -135,7 +135,7 @@ static void vcd_checkpoint() show_this_item(cur); } -static void vcd_checkpoint_x() +static void vcd_checkpoint_x(void) { struct vcd_info*cur; @@ -879,7 +879,7 @@ static PLI_INT32 sys_dumpvars_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) return 0; } -void sys_fst_register() +void sys_fst_register(void) { int idx; struct t_vpi_vlog_info vlog_info; diff --git a/vpi/sys_lxt2.c b/vpi/sys_lxt2.c index f2f1839e2..87044a8ee 100644 --- a/vpi/sys_lxt2.c +++ b/vpi/sys_lxt2.c @@ -254,12 +254,12 @@ __inline__ static int dump_header_pending(void) * This function writes out all the traced variables, whether they * changed or not. */ -static void vcd_checkpoint() +static void vcd_checkpoint(void) { functor_all_vcd_info( show_this_item ); } -static void vcd_checkpoint_x() +static void vcd_checkpoint_x(void) { functor_all_vcd_info( show_this_item_x ); } @@ -873,7 +873,7 @@ static void* lxt2_thread(void*arg) return 0; } -void sys_lxt2_register() +void sys_lxt2_register(void) { int idx; struct t_vpi_vlog_info vlog_info;