summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:27:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:27:03 +0000
commit1298624dc88e9f2d0234d339cf4c59f873f17dee (patch)
tree18ce4ec5f72608a0948e7c8cfb34d967c9addc7e
parent0b6d74d098ce3d5caa6b616b085919edf275f433 (diff)
downloadrtems-1298624dc88e9f2d0234d339cf4c59f873f17dee.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/mvme167/console/console.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme167/ChangeLog b/c/src/lib/libbsp/m68k/mvme167/ChangeLog
index 79a015a024..dd1a4e8c6f 100644
--- a/c/src/lib/libbsp/m68k/mvme167/ChangeLog
+++ b/c/src/lib/libbsp/m68k/mvme167/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-04 Joel Sherrill <joel@OARcorp.com>
+
+ * console/console.c: Removed warnings.
+
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* network/network.c, startup/bspclean.c: Removed warnings.
diff --git a/c/src/lib/libbsp/m68k/mvme167/console/console.c b/c/src/lib/libbsp/m68k/mvme167/console/console.c
index 90da9ebed5..e5776384e8 100644
--- a/c/src/lib/libbsp/m68k/mvme167/console/console.c
+++ b/c/src/lib/libbsp/m68k/mvme167/console/console.c
@@ -880,6 +880,7 @@ int cd2401_setAttributes(
}
/* Number of bits per char */
+ csize = 0x07; /* to avoid a warning */
switch ( t->c_cflag & CSIZE ) {
case CS5: csize = 0x04; break;
case CS6: csize = 0x05; break;