summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:25:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-04 14:25:57 +0000
commit202ed852af91a5b19baef6c8d99aff113796dc0a (patch)
tree7b9bcf45b473bbac19e69dca8ee6de32fe243095
parent99c79c3dcc885b79ca0f0c48bd5afd06d712c530 (diff)
downloadrtems-202ed852af91a5b19baef6c8d99aff113796dc0a.tar.bz2
2002-11-04 Joel Sherrill <joel@OARcorp.com>
* console/console.c, network/ne2000.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/ChangeLog4
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/console/console.c1
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/network/ne2000.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/ts_386ex/ChangeLog b/c/src/lib/libbsp/i386/ts_386ex/ChangeLog
index 68114819aa..b27b8dbcf1 100644
--- a/c/src/lib/libbsp/i386/ts_386ex/ChangeLog
+++ b/c/src/lib/libbsp/i386/ts_386ex/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-04 Joel Sherrill <joel@OARcorp.com>
+
+ * console/console.c, network/ne2000.c: Removed warnings.
+
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Removed warnings.
diff --git a/c/src/lib/libbsp/i386/ts_386ex/console/console.c b/c/src/lib/libbsp/i386/ts_386ex/console/console.c
index 49fd3cb69f..5bb720ba96 100644
--- a/c/src/lib/libbsp/i386/ts_386ex/console/console.c
+++ b/c/src/lib/libbsp/i386/ts_386ex/console/console.c
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
+#include <rtems/error.h>
/* workaround for gcc development tools */
#undef __assert
diff --git a/c/src/lib/libbsp/i386/ts_386ex/network/ne2000.c b/c/src/lib/libbsp/i386/ts_386ex/network/ne2000.c
index 666653f421..e4757f8851 100644
--- a/c/src/lib/libbsp/i386/ts_386ex/network/ne2000.c
+++ b/c/src/lib/libbsp/i386/ts_386ex/network/ne2000.c
@@ -438,7 +438,7 @@ ne_init_hardware (struct ne_softc *sc)
/* Set up interrupts. */
irq.name = sc->irno;
- irq.hdl = ne_interrupt_handler;
+ irq.hdl = (rtems_irq_hdl)ne_interrupt_handler;
irq.on = ne_interrupt_on;
irq.off = ne_interrupt_off;
irq.isOn = ne_interrupt_is_on;