diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 22:36:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 22:36:25 +0000 |
commit | 9bbba5401ccd33ffc2acfd6df16414792691801a (patch) | |
tree | 525fcee816dbac52031b5ca47d123c35b3c5485f /c/src/lib/libbsp/powerpc/mbx8xx/console/console.c | |
parent | 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-9bbba5401ccd33ffc2acfd6df16414792691801a.tar.bz2 |
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/console.c, ide/pcmcia_ide.c, startup/bspstart.c,
startup/imbx8xx.c: Fix some warnings.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mbx8xx/console/console.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mbx8xx/console/console.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c b/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c index b6148164fc..4145270b88 100644 --- a/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c +++ b/c/src/lib/libbsp/powerpc/mbx8xx/console/console.c @@ -93,6 +93,9 @@ static void serial_putchar(const char c); BSP_output_char_function_type BSP_output_char = _BSP_null_char; +extern volatile m8xx_t m8xx; +extern struct rtems_termios_tty *ttyp[]; + /* * _EPPCBug_pollRead * @@ -111,8 +114,6 @@ static int _EPPCBug_pollRead( int minor ) { - extern volatile m8xx_t m8xx; - char c; volatile int simask; /* We must read and write m8xx.simask */ int retval; @@ -220,8 +221,6 @@ static ssize_t _EPPCBug_pollWrite( size_t len ) { - extern volatile m8xx_t m8xx; - volatile int simask; int i; ISR_Level level; @@ -875,7 +874,6 @@ rtems_device_driver console_open( { #if NVRAM_CONFIGURE == 1 /* Used to track termios private data for callbacks */ - extern struct rtems_termios_tty *ttyp[]; rtems_libio_open_close_args_t *args = arg; static const rtems_termios_callbacks sccEPPCBugCallbacks = { NULL, /* firstOpen */ |