summaryrefslogtreecommitdiff
path: root/src/binary-reader-linker.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-02-24 16:49:49 -0800
committerGitHub <noreply@github.com>2017-02-24 16:49:49 -0800
commit4e7541cb2d067eeebce5f13f85c0d4f67a685299 (patch)
tree95d4e943fb8a29ac8d704c1ee108d5c32b3258b5 /src/binary-reader-linker.cc
parent529015dc83b426659047689922eee7f9a34f9f15 (diff)
downloadwabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.gz
wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.bz2
wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.zip
Remove struct and enum typedefs (#317)
Diffstat (limited to 'src/binary-reader-linker.cc')
-rw-r--r--src/binary-reader-linker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader-linker.cc b/src/binary-reader-linker.cc
index 6eae025a..568bd1eb 100644
--- a/src/binary-reader-linker.cc
+++ b/src/binary-reader-linker.cc
@@ -21,14 +21,14 @@
#define RELOC_SIZE 5
-typedef struct Context {
+struct Context {
WabtLinkerInputBinary* binary;
WabtSection* reloc_section;
WabtStringSlice import_name;
WabtSection* current_section;
-} Context;
+};
static WabtResult on_reloc_count(uint32_t count,
WabtBinarySection section_code,