From 90bf8687f067bc301a9a781db6cbc9d700e37772 Mon Sep 17 00:00:00 2001 From: sant0s12 Date: Sun, 26 May 2024 17:17:13 +0200 Subject: [PATCH] [software] Fix init array --- software/runtime/kmp/main_wrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/runtime/kmp/main_wrapper.cpp b/software/runtime/kmp/main_wrapper.cpp index 827567f76..0408d6202 100644 --- a/software/runtime/kmp/main_wrapper.cpp +++ b/software/runtime/kmp/main_wrapper.cpp @@ -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)