diff --git a/cpu/native/syscalls.c b/cpu/native/syscalls.c index 9f9053636b..1b59188839 100644 --- a/cpu/native/syscalls.c +++ b/cpu/native/syscalls.c @@ -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;