mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 23:41:18 +01:00
native: coding conventions
This commit is contained in:
parent
7901d24053
commit
4de10a2ecb
@ -197,7 +197,8 @@ ssize_t _native_write(int fd, const void *buf, size_t count)
|
||||
#if defined(__FreeBSD__)
|
||||
#undef putchar
|
||||
#endif
|
||||
int putchar(int c) {
|
||||
int putchar(int c)
|
||||
{
|
||||
_native_write(STDOUT_FILENO, &c, 1);
|
||||
return 0;
|
||||
}
|
||||
@ -354,7 +355,8 @@ int getpid(void)
|
||||
}
|
||||
|
||||
#ifdef MODULE_VTIMER
|
||||
int _gettimeofday(struct timeval *tp, void *restrict tzp) {
|
||||
int _gettimeofday(struct timeval *tp, void *restrict tzp)
|
||||
{
|
||||
(void) tzp;
|
||||
vtimer_gettimeofday(tp);
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user