From de1d7160c69d62e57442699e01b00039e4f3dc7d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Apr 1997 21:27:59 +0000 Subject: commented out sccs_id to eliminate warnings --- c/src/lib/libbsp/mips/p4000/console/console.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp/mips') 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 @@ -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 -- cgit v1.2.3