summaryrefslogtreecommitdiff
path: root/src/tools/wasm-link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-link.cc')
-rw-r--r--src/tools/wasm-link.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/wasm-link.cc b/src/tools/wasm-link.cc
index 75a6b224..d4085e67 100644
--- a/src/tools/wasm-link.cc
+++ b/src/tools/wasm-link.cc
@@ -57,11 +57,11 @@ static StringVector s_infiles;
static WabtFileWriter s_log_stream_writer;
static WabtStream s_log_stream;
-typedef struct Context {
+struct Context {
WabtStream stream;
WabtLinkerInputBinaryVector inputs;
ssize_t current_section_payload_offset;
-} Context;
+};
static void on_option(struct WabtOptionParser* parser,
struct WabtOption* option,
@@ -608,10 +608,10 @@ static bool write_combined_section(Context* ctx,
return true;
}
-typedef struct ExportInfo {
+struct ExportInfo {
WabtExport* export_;
WabtLinkerInputBinary* binary;
-} ExportInfo;
+};
WABT_DEFINE_VECTOR(export_info, ExportInfo);
static void resolve_symbols(Context* ctx) {