1
0
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:
Ludwig Ortmann 2014-11-18 17:38:48 +01:00
parent 7901d24053
commit 4de10a2ecb

View File

@ -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;