Skip to content

Commit

Permalink
fix extern naming (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurawly authored and tqchen committed Jun 6, 2018
1 parent 075135c commit d9f04b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codegen/codegen_c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ void CodeGenC::AddFunction(LoweredFunc f) {
this->InitFuncState(f);
// skip the first underscore, so SSA variable starts from _1
GetUniqueName("_");
GetUniqueName("extern");
// add to alloc buffer type.
for (const auto & kv : f->handle_data_type) {
RegisterHandleType(kv.first.get(), kv.second.type());
Expand Down

0 comments on commit d9f04b9

Please sign in to comment.