diff --git a/src/kernel/libroot/posix/stdlib/abs.c b/src/kernel/libroot/posix/stdlib/abs.c index 7c60ed8491..4eb885965b 100644 --- a/src/kernel/libroot/posix/stdlib/abs.c +++ b/src/kernel/libroot/posix/stdlib/abs.c @@ -14,12 +14,7 @@ * */ - -// ToDo: these are supposed to be declared in -// - - - - - - - - - - - - - - - -int abs(int); -long labs(long); -// - - - - - - - - - - - - - - - +#include int diff --git a/src/kernel/libroot/posix/stdlib/div.c b/src/kernel/libroot/posix/stdlib/div.c index bbd73d6f91..2d49b39f46 100644 --- a/src/kernel/libroot/posix/stdlib/div.c +++ b/src/kernel/libroot/posix/stdlib/div.c @@ -14,13 +14,7 @@ * */ - -// ToDo: these are supposed to be declared in -// - - - - - - - - - - - - - - - -#include -div_t div(int, int); -ldiv_t ldiv(long, long); -// - - - - - - - - - - - - - - - +#include div_t diff --git a/src/kernel/libroot/posix/stdlib/exit.c b/src/kernel/libroot/posix/stdlib/exit.c index e5ca94d4cd..057ef03525 100644 --- a/src/kernel/libroot/posix/stdlib/exit.c +++ b/src/kernel/libroot/posix/stdlib/exit.c @@ -23,14 +23,6 @@ // ToDo: move this puppy to a more standard location #include "../stdio/local.h" -// ToDo: these are supposed to be declared in -// - - - - - - - - - - - - - - - -#define EXIT_SUCCESS 0 -#define EXIT_FAILURE 1 -void abort(void); -int atexit(void (*func)(void)); -// - - - - - - - - - - - - - - - - static void (*_Exit_Stack[ATEXIT_MAX])(void) = {0};