From 4de10a2ecb003a8170404bbe2d221758ddd9135f Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Tue, 18 Nov 2014 17:38:48 +0100 Subject: [PATCH] native: coding conventions --- cpu/native/syscalls.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;