From abe7ef95cb89c68c6385162cb801bab8b27a585b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 3 Jan 2017 12:03:06 +0000 Subject: sim: Remove redundant export_method_cxx_predecls The headers declared in export_method_cxx_predecls are redundant since a SimObject's main header is automatically included. Change-Id: Ied9e84630b36960e54efe91d16f8c66fba7e0da0 Signed-off-by: Andreas Sandberg Reviewed-by: Curtis Dunham Reviewed-by: Joe Gross Reviewed-by: Jason Lowe-Power --- src/sim/System.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/sim') diff --git a/src/sim/System.py b/src/sim/System.py index 8ebf7a024..f97096fcc 100644 --- a/src/sim/System.py +++ b/src/sim/System.py @@ -43,10 +43,6 @@ class System(MemObject): cxx_header = "sim/system.hh" system_port = MasterPort("System port") - @classmethod - def export_method_cxx_predecls(cls, code): - code('#include "sim/system.hh"') - @classmethod def export_methods(cls, code): code(''' -- cgit v1.2.3