Skip to content

Commit

Permalink
Merge pull request RIOT-OS/applications#9 from OlegHahm/putchar_fix
Browse files Browse the repository at this point in the history
openwsn: fix prototype for putchar
  • Loading branch information
haukepetersen committed Jul 20, 2015
2 parents ccc4e3f + e454242 commit ad75cdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openwsn/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ static int shell_readc(void)
return c;
}

static void shell_putchar(int c)
static int shell_putchar(int c)
{
(void) putchar(c);

return c;
}

int main(void) {
Expand All @@ -57,4 +59,4 @@ int main(void) {
shell_run(&shell);

return 0;
}
}

0 comments on commit ad75cdd

Please sign in to comment.