diff options
author | Ben Smith <binjimin@gmail.com> | 2017-02-24 16:49:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-24 16:49:49 -0800 |
commit | 4e7541cb2d067eeebce5f13f85c0d4f67a685299 (patch) | |
tree | 95d4e943fb8a29ac8d704c1ee108d5c32b3258b5 /src/binary-writer-spec.cc | |
parent | 529015dc83b426659047689922eee7f9a34f9f15 (diff) | |
download | wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.gz wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.bz2 wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.zip |
Remove struct and enum typedefs (#317)
Diffstat (limited to 'src/binary-writer-spec.cc')
-rw-r--r-- | src/binary-writer-spec.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-writer-spec.cc b/src/binary-writer-spec.cc index 19e61c62..c6b91e10 100644 --- a/src/binary-writer-spec.cc +++ b/src/binary-writer-spec.cc @@ -26,7 +26,7 @@ #include "stream.h" #include "writer.h" -typedef struct Context { +struct Context { WabtMemoryWriter json_writer; WabtStream json_stream; WabtStringSlice source_filename; @@ -35,7 +35,7 @@ typedef struct Context { const WabtWriteBinarySpecOptions* spec_options; WabtResult result; size_t num_modules; -} Context; +}; static void convert_backslash_to_slash(char* s, size_t length) { size_t i = 0; |