Skip to content

Commit

Permalink
sys/newlib_syscalls_default: mark _exit as used
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Aug 5, 2020
1 parent 9f7bfde commit e09383d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/newlib_syscalls_default/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ __attribute__((used)) void _fini(void)
*
* @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);
pm_off();
Expand Down

0 comments on commit e09383d

Please sign in to comment.