summaryrefslogtreecommitdiff
path: root/src/binary-reader-linker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-linker.cc')
-rw-r--r--src/binary-reader-linker.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binary-reader-linker.cc b/src/binary-reader-linker.cc
index dc537259..5b3d36f8 100644
--- a/src/binary-reader-linker.cc
+++ b/src/binary-reader-linker.cc
@@ -22,6 +22,9 @@
#define RELOC_SIZE 5
namespace wabt {
+namespace link {
+
+namespace {
struct Context {
LinkerInputBinary* binary;
@@ -30,6 +33,8 @@ struct Context {
Section* current_section;
};
+} // namespace
+
static Result on_reloc_count(uint32_t count,
BinarySection section_code,
StringSlice section_name,
@@ -334,4 +339,5 @@ Result read_binary_linker(LinkerInputBinary* input_info,
&read_options);
}
+} // namespace link
} // namespace wabt