summaryrefslogtreecommitdiff
path: root/src/systemc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 23:02:30 -0700
committerGabe Black <gabeblack@google.com>2018-08-28 21:21:57 +0000
commit8f04ccbb0e27354b9c32564386bc6a64b94669dc (patch)
tree4ebfb8492bba6dc0ab2be0ab639c7662c30de02b /src/systemc
parent48b56f7c3ef7e281afd9bccd984d3483eb9c8199 (diff)
downloadgem5-8f04ccbb0e27354b9c32564386bc6a64b94669dc.tar.xz
systemc: Make some functions static in conflict with the spec.
The spec is likely wrong in this case since a lot of the other neighboring functions are static, and the Accellera implementation and the tests seem to assume they're static. Change-Id: Ia12a3735497b50f8a2419a52c83ef256416e7bc5 Reviewed-on: https://gem5-review.googlesource.com/11282 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc')
-rw-r--r--src/systemc/ext/utils/sc_report_handler.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/systemc/ext/utils/sc_report_handler.hh b/src/systemc/ext/utils/sc_report_handler.hh
index f6e32b9ad..33c2499e0 100644
--- a/src/systemc/ext/utils/sc_report_handler.hh
+++ b/src/systemc/ext/utils/sc_report_handler.hh
@@ -89,8 +89,11 @@ class sc_report_handler
static int get_count(const char *msg_type);
static int get_count(const char *msg_type, sc_severity);
- int set_verbosity_level(int);
- int get_verbosity_level();
+ // Nonstandard
+ // In the spec, these aren't listed as static functions. They are static in
+ // the Accellera implementation and are used as such in the tests.
+ static int set_verbosity_level(int);
+ static int get_verbosity_level();
static sc_actions suppress(sc_actions);
static sc_actions suppress();