From f76d56beb869abdada91fcfb3476650ac96efd90 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Thu, 30 Jan 2014 09:36:25 -0800 Subject: [PATCH] Remove lint detected by clang With this change, iverilog builds and runs with no extra warnings when using clang 3.0 --- netlist.h | 2 +- parse_api.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netlist.h b/netlist.h index 02836b23f..f02970b86 100644 --- a/netlist.h +++ b/netlist.h @@ -76,7 +76,7 @@ class NetEvTrig; class NetEvWait; class PExpr; class PFunction; -class enum_type_t; +struct enum_type_t; class netclass_t; class netdarray_t; class netparray_t; diff --git a/parse_api.h b/parse_api.h index 8101e4295..a9de02dcf 100644 --- a/parse_api.h +++ b/parse_api.h @@ -31,7 +31,7 @@ class Module; class PPackage; class PUdp; class data_type_t; -class enum_type_t; +struct enum_type_t; /* * These are maps of the modules and primitives parsed from the