summaryrefslogtreecommitdiff
path: root/platforms/chibios/syscall-fallbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/syscall-fallbacks.c')
-rw-r--r--platforms/chibios/syscall-fallbacks.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/platforms/chibios/syscall-fallbacks.c b/platforms/chibios/syscall-fallbacks.c
index 7150a46326..86f7907bfc 100644
--- a/platforms/chibios/syscall-fallbacks.c
+++ b/platforms/chibios/syscall-fallbacks.c
@@ -87,9 +87,13 @@ __attribute__((weak, used)) int _kill(int pid, int sig) {
return -1;
}
-__attribute__((weak, used)) pid_t _getpid(void) { return 1; }
+__attribute__((weak, used)) pid_t _getpid(void) {
+ return 1;
+}
-__attribute__((weak, used)) void _fini(void) { return; }
+__attribute__((weak, used)) void _fini(void) {
+ return;
+}
__attribute__((weak, used, noreturn)) void _exit(int i) {
while (1)