VVP cleanup of ',' at end of enum and missing extern "C"

This patch is similar to the previous patches and cleans up a single
place in the vvp directory where an enum had a trailing ',' and a
place where a C++ routine needed extern "C".
This commit is contained in:
Cary R
2010-05-13 19:10:08 -07:00
committed by Stephen Williams
parent ffa1f1139b
commit 42bc41ca5b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ enum operand_e {
/* The operand is a second functor pointer */
OA_FUNC_PTR2,
/* The operand is a VPI handle */
OA_VPI_PTR,
OA_VPI_PTR
};
struct opcode_table_s {
+1 -1
View File
@@ -519,7 +519,7 @@ bool schedule_stopped(void)
* These are the signal handling infrastructure. The SIGINT signal
* leads to an implicit $stop.
*/
static void signals_handler(int)
extern "C" void signals_handler(int)
{
schedule_stopped_flag = true;
}