Skip to content

Commit

Permalink
moved native internal functions declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
LudwigKnuepfer authored and OlegHahm committed Jul 24, 2013
1 parent 5b696d0 commit fdbf28f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions native/board_init.c
Expand Up @@ -15,6 +15,8 @@
#include <stdio.h>
#include "board.h"

#include "board_internal.h"

/**
* Nothing to initialize at the moment.
* Turns the red LED on and the green LED off.
Expand Down
2 changes: 1 addition & 1 deletion native/drivers/native-uart0.c
Expand Up @@ -17,7 +17,7 @@ int _native_uart_out;

fd_set _native_uart_rfds;

static inline int uart0_puts(char *astring, int length)
inline int uart0_puts(char *astring, int length)
{
return puts(astring);
}
Expand Down
6 changes: 0 additions & 6 deletions native/include/board.h
Expand Up @@ -21,9 +21,3 @@ void LED_GREEN_TOGGLE(void);
void LED_RED_OFF(void);
void LED_RED_ON(void);
void LED_RED_TOGGLE(void);

#ifdef MODULE_UART0
#include <sys/select.h>
extern fd_set _native_uart_rfds;
extern void _native_handle_uart0_input(void);
#endif
6 changes: 6 additions & 0 deletions native/include/board_internal.h
@@ -0,0 +1,6 @@
#ifdef MODULE_UART0
#include <sys/select.h>
extern fd_set _native_uart_rfds;
void _native_handle_uart0_input(void);
void _native_init_uart0(void);
#endif

0 comments on commit fdbf28f

Please sign in to comment.