diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:27:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:27:59 +0000 |
commit | de1d7160c69d62e57442699e01b00039e4f3dc7d (patch) | |
tree | 0a30b4e5dbdefad4ae33f0fdc5b6ca001c418965 | |
parent | added or fixed includes of page_table.h to eliminate warnings. (diff) | |
download | rtems-de1d7160c69d62e57442699e01b00039e4f3dc7d.tar.bz2 |
commented out sccs_id to eliminate warnings
-rw-r--r-- | c/src/lib/libbsp/mips/p4000/console/console.c | 14 | ||||
-rw-r--r-- | c/src/lib/libbsp/mips64orion/p4000/console/console.c | 14 |
2 files changed, 20 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/mips/p4000/console/console.c b/c/src/lib/libbsp/mips/p4000/console/console.c index d8797b48e0..a54464a316 100644 --- a/c/src/lib/libbsp/mips/p4000/console/console.c +++ b/c/src/lib/libbsp/mips/p4000/console/console.c @@ -30,9 +30,13 @@ */ -#ifndef lint -static char _sccsid[] = "@(#)console.c 08/20/96 1.6\n"; -#endif +/* + * Rather than deleting this, it is commented out to (hopefully) help + * the submitter send updates. + * + * static char _sccsid[] = "@(#)console.c 08/20/96 1.6\n"; + */ + #include <bsp.h> @@ -149,7 +153,7 @@ void outbyte( mips_leddisplay( led_chars[0], led_chars[1], led_chars[2], led_chars[3] ); cur_led = 0; } - else if ( isalnum( ch ) && cur_led < NUM_LEDS ) + else if ( isalnum( (unsigned char) ch ) && cur_led < NUM_LEDS ) { led_chars[cur_led++] = ch; } @@ -157,7 +161,9 @@ void outbyte( } +#if 0 static int console_fd = -1; +#endif /* * Open entry point diff --git a/c/src/lib/libbsp/mips64orion/p4000/console/console.c b/c/src/lib/libbsp/mips64orion/p4000/console/console.c index d8797b48e0..a54464a316 100644 --- a/c/src/lib/libbsp/mips64orion/p4000/console/console.c +++ b/c/src/lib/libbsp/mips64orion/p4000/console/console.c @@ -30,9 +30,13 @@ */ -#ifndef lint -static char _sccsid[] = "@(#)console.c 08/20/96 1.6\n"; -#endif +/* + * Rather than deleting this, it is commented out to (hopefully) help + * the submitter send updates. + * + * static char _sccsid[] = "@(#)console.c 08/20/96 1.6\n"; + */ + #include <bsp.h> @@ -149,7 +153,7 @@ void outbyte( mips_leddisplay( led_chars[0], led_chars[1], led_chars[2], led_chars[3] ); cur_led = 0; } - else if ( isalnum( ch ) && cur_led < NUM_LEDS ) + else if ( isalnum( (unsigned char) ch ) && cur_led < NUM_LEDS ) { led_chars[cur_led++] = ch; } @@ -157,7 +161,9 @@ void outbyte( } +#if 0 static int console_fd = -1; +#endif /* * Open entry point |