Skip to content

Commit

Permalink
fix boring C lint in header
Browse files Browse the repository at this point in the history
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 186779c)
  • Loading branch information
ldoolitt authored and steveicarus committed Nov 25, 2010
1 parent 2e4810a commit 8c1b5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpi_user.h
Expand Up @@ -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);


/*
Expand Down

0 comments on commit 8c1b5be

Please sign in to comment.