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:
parent
fb387ca83a
commit
d635004a62
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user