Native: Use correct code style for platform.c
The file platform.c for the native platform was not up to date with the
latest code style. This fixes that before the actual fix.
@@ -160,14 +160,13 @@ stdin_set_fd(fd_set *rset, fd_set *wset)
FD_SET(STDIN_FILENO, rset);
return 1;
}
-
static int (*input_handler)(unsigned char c);
-void native_uart_set_input(int (*input)(unsigned char c)) {
+void
+native_uart_set_input(int (*input)(unsigned char c))
+{
input_handler = input;
}
-
-
static void
stdin_handle_fd(fd_set *rset, fd_set *wset)
{
@@ -267,7 +266,6 @@ platform_init_stage_two()
if(NULL == input_handler) {
native_uart_set_input(serial_line_input_byte);
}
-
}
/*---------------------------------------------------------------------------*/
void
