2002-11-01 Joel Sherrill <joel@OARcorp.com>

* gdbsci/gdbsci.c: Removed warnings.
This commit is contained in:
Joel Sherrill
2002-11-01 21:56:35 +00:00
parent 4d654d753a
commit 09e19e62a7
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* gdbsci/gdbsci.c: Removed warnings.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat. * .cvsignore: Reformat.

View File

@@ -83,13 +83,14 @@ extern int _sci_get_brparms(
unsigned char *smr, unsigned char *smr,
unsigned char *brr ); unsigned char *brr );
#if 0
/* Translate termios' tcflag_t into sci settings */ /* Translate termios' tcflag_t into sci settings */
static int _sci_set_cflags( static int _sci_set_cflags(
struct scidev_t *sci_dev, struct scidev_t *sci_dev,
tcflag_t c_cflag ) tcflag_t c_cflag )
{ {
unsigned8 smr ; unsigned8 smr;
unsigned8 brr ; unsigned8 brr;
if ( c_cflag & CBAUD ) if ( c_cflag & CBAUD )
{ {
@@ -127,6 +128,7 @@ static int _sci_set_cflags(
return 0 ; return 0 ;
} }
#endif
static void _sci_init( static void _sci_init(
rtems_device_minor_number minor ) rtems_device_minor_number minor )