From 8c1b5be360841dfba0d3e5eba4d3c283fa6f4b04 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Thu, 18 Nov 2010 09:10:00 -0800 Subject: [PATCH] fix boring C lint in header With warnings turned sufficiently high in gcc, I get: .../vpi_user.h:568: warning: function declaration isn't a prototype when building VPI modules. Patch is trivial. (cherry picked from commit 186779c29b6bbd997ad7a840a263d661f0c72061) --- vpi_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpi_user.h b/vpi_user.h index 7e33278cd..38fc8c6af 100644 --- a/vpi_user.h +++ b/vpi_user.h @@ -565,7 +565,7 @@ extern PLI_INT32 vpi_chk_error(p_vpi_error_info info); /* This is the table of startup routines included in each module. */ -extern DLLEXPORT void (*vlog_startup_routines[])(); +extern DLLEXPORT void (*vlog_startup_routines[])(void); /*