summaryrefslogtreecommitdiff
path: root/src/binary-reader-opcnt.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-opcnt.cc')
-rw-r--r--src/binary-reader-opcnt.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-reader-opcnt.cc b/src/binary-reader-opcnt.cc
index 51f86e26..edf2f0b3 100644
--- a/src/binary-reader-opcnt.cc
+++ b/src/binary-reader-opcnt.cc
@@ -27,10 +27,14 @@
namespace wabt {
+namespace {
+
struct Context {
OpcntData* opcnt_data;
};
+} // namespace
+
static Result add_int_counter_value(IntCounterVector* vec,
intmax_t value) {
for (size_t i = 0; i < vec->size; ++i) {