Skip to content

Commit

Permalink
[software] Fix init array
Browse files Browse the repository at this point in the history
  • Loading branch information
sant0s12 committed May 26, 2024
1 parent 052f0c2 commit 90bf868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/runtime/kmp/main_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ extern "C" {

// https://etherealwake.com/2021/09/crt-startup/
typedef void (*init_func)(void);
extern init_func *__init_array_start;
extern init_func *__init_array_end;
extern init_func __init_array_start[];
extern init_func __init_array_end[];

static inline void initGlobals() {
//NOLINTNEXTLINE(*-narrowing-conversions)
Expand Down

0 comments on commit 90bf868

Please sign in to comment.