From 0894a1e7664504312a9cdfc826eef89030aaaa1b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 5 Aug 2020 02:52:42 +0200 Subject: new directory sructure for fe310 fw --- code/fe310/bsp/gloss/sys_exit.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 code/fe310/bsp/gloss/sys_exit.c (limited to 'code/fe310/bsp/gloss/sys_exit.c') diff --git a/code/fe310/bsp/gloss/sys_exit.c b/code/fe310/bsp/gloss/sys_exit.c new file mode 100644 index 0000000..1502b3e --- /dev/null +++ b/code/fe310/bsp/gloss/sys_exit.c @@ -0,0 +1,7 @@ +#include + +__attribute__ ((noreturn)) void +_exit(int st) { while (1); } + +int +atexit(void (*f)(void)) { return 0; } -- cgit v1.2.3