1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 18:12:46 +01:00

sys/newlib_syscalls_default: mark _exit as used

This commit is contained in:
Kaspar Schleiser 2020-02-10 11:47:03 +01:00
parent 9f7bfde27e
commit e09383d343

View File

@ -169,7 +169,7 @@ __attribute__((used)) void _fini(void)
* *
* @param n the exit code, 0 for all OK, >0 for not OK * @param n the exit code, 0 for all OK, >0 for not OK
*/ */
void _exit(int n) __attribute__((used)) void _exit(int n)
{ {
LOG_INFO("#! exit %i: powering off\n", n); LOG_INFO("#! exit %i: powering off\n", n);
pm_off(); pm_off();