1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/syscalls: fix coding style

This commit is contained in:
Benjamin Valentin 2022-09-05 14:56:15 +02:00
parent fb387ca83a
commit d635004a62

View File

@ -175,7 +175,7 @@ __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();
while(1); while (1) {}
} }
/** /**
@ -603,7 +603,7 @@ int _isatty_r(struct _reent *r, int fd)
{ {
r->_errno = 0; r->_errno = 0;
if(fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) { if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) {
return 1; return 1;
} }