diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-11 22:00:22 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-11 22:00:22 -0500 |
commit | 5fcf57739e68a8b5053e03778aaee0eed445babd (patch) | |
tree | e7a8bab18668d112e58b1b48190195035c71fa8a /src/user/include/pland | |
parent | 0f2398d1f622cce37925f52d978d92e6cce1c7a9 (diff) | |
download | portland-os-5fcf57739e68a8b5053e03778aaee0eed445babd.tar.gz |
settings editor, and lots of changes in service of that
Diffstat (limited to 'src/user/include/pland')
-rw-r--r-- | src/user/include/pland/pcrt.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |