summaryrefslogtreecommitdiff
path: root/src/tools/wast-desugar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wast-desugar.cc')
-rw-r--r--src/tools/wast-desugar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/wast-desugar.cc b/src/tools/wast-desugar.cc
index 494938f0..84813c0e 100644
--- a/src/tools/wast-desugar.cc
+++ b/src/tools/wast-desugar.cc
@@ -115,14 +115,14 @@ static void parse_options(int argc, char** argv) {
}
}
-typedef struct Context {
+struct Context {
WabtMemoryWriter json_writer;
WabtMemoryWriter module_writer;
WabtStream json_stream;
WabtStringSlice output_filename_noext;
char* module_filename;
WabtResult result;
-} Context;
+};
int main(int argc, char** argv) {
wabt_init_stdio();