diff options
| author | gingerBill <bill@gingerbill.org> | 2017-10-30 20:26:05 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-10-30 20:26:05 +0000 |
| commit | 414486829a539095062c3c035df729c11f7f4235 (patch) | |
| tree | c1c8cc403a26b07bb34812a07a1d9b2fde72c6bf /src/check_stmt.cpp | |
| parent | 3e05be8eb8b14729b63ee541d11b3deb19b38710 (diff) | |
Add string_set.cpp; Code clean up
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 3add868ec..6bde1abb3 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1670,7 +1670,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) { CheckerContext prev_context = c->context; if (ok) { c->context.curr_foreign_library = foreign_library; - c->context.default_foreign_cc = ProcCC_C; + c->context.default_foreign_cc = ProcCC_CDecl; } check_foreign_block_decl_attributes(c, fb); |