Skip to content

Commit 03c0e49

Browse files
committed
format
1 parent ea35ebb commit 03c0e49

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

core/iwasm/aot/aot_runtime.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ set_error_buf_v(char *error_buf, uint32 error_buf_size, const char *format, ...)
115115
}
116116

117117
static void
118-
aot_unlinked_import_func_trap(void) {
118+
aot_unlinked_import_func_trap(void)
119+
{
119120
printf("Unlinked import function called\n");
120121
}
121122

@@ -1402,7 +1403,7 @@ init_func_ptrs(AOTModuleInstance *module_inst, AOTModule *module,
14021403
* Debugging: Check if the import is resolved at link time */
14031404
LOG_WARNING("warning: failed to link import function (%s, %s)",
14041405
module_name, field_name);
1405-
*func_ptrs = (void*)aot_unlinked_import_func_trap;
1406+
*func_ptrs = (void *)aot_unlinked_import_func_trap;
14061407
}
14071408
}
14081409

0 commit comments

Comments
 (0)