From 5fcf57739e68a8b5053e03778aaee0eed445babd Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 11 Mar 2021 22:00:22 -0500 Subject: settings editor, and lots of changes in service of that --- src/user/include/pland/pcrt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/user/include/pland') diff --git a/src/user/include/pland/pcrt.h b/src/user/include/pland/pcrt.h index 6581cbe..4888494 100644 --- a/src/user/include/pland/pcrt.h +++ b/src/user/include/pland/pcrt.h @@ -9,12 +9,12 @@ extern "C" { #define BEFORE_MAIN(f) \ __attribute__ ((section (".__pcrt_before_main"))) \ - __attribute__ ((unused)) \ + __attribute__ ((used)) \ void (*const __pcrt_bm_##f)() = &f; #define BEFORE_QUIT(f) \ __attribute__ ((section (".__pcrt_before_quit"))) \ - __attribute__ ((unused)) \ + __attribute__ ((used)) \ void (*const __pcrt_bq_##f)() = &f; void __pcrt_quit() __attribute__ ((noreturn)); -- cgit v1.2.3