Skip to content

Commit

Permalink
c-writer.cc: add newline after init_globals()
Browse files Browse the repository at this point in the history
  • Loading branch information
keithw committed Sep 20, 2022
1 parent 1793a5d commit 5263d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/c-writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ void CWriter::WriteGlobalInitializers() {
}
++global_index;
}
Write(CloseBrace(), Newline());
Write(CloseBrace(), Newline(), Newline());
}

static inline bool is_droppable(const DataSegment* data_segment) {
Expand Down
1 change: 1 addition & 0 deletions wasm2c/examples/fac/fac.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ static u32 w2c_fac(Z_fac_instance_t*, u32);

static void init_globals(Z_fac_instance_t* instance) {
}

static void init_memory(Z_fac_instance_t* instance) {
}

Expand Down

0 comments on commit 5263d92

Please sign in to comment.