Skip to content

Commit c1ed55e

Browse files
committed
Fix init array
1 parent d0b2a30 commit c1ed55e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

software/runtime/kmp/main_wrapper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ extern "C" {
66

77
// https://etherealwake.com/2021/09/crt-startup/
88
typedef void (*init_func)(void);
9-
extern init_func *__init_array_start;
10-
extern init_func *__init_array_end;
9+
extern init_func __init_array_start[];
10+
extern init_func __init_array_end[];
1111

1212
static inline void initGlobals() {
1313
//NOLINTNEXTLINE(*-narrowing-conversions)

0 commit comments

Comments
 (0)