summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:57:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:57:01 +0000
commita1a84a3901c8db5fb34eab53d82bf8781ae5ffd9 (patch)
tree9d86e7bda9600b4282f9274f08091bdd87c175fa
parent09e19e62a7d17abdbb2700416cca13de9f0efe47 (diff)
downloadrtems-a1a84a3901c8db5fb34eab53d82bf8781ae5ffd9.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/sh/simsh4/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sh/simsh4/clock/ckinit.c4
-rw-r--r--c/src/lib/libbsp/sh/simsh4/console/console.c5
3 files changed, 8 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sh/simsh4/ChangeLog b/c/src/lib/libbsp/sh/simsh4/ChangeLog
index 35c320268d..4b2bf4397b 100644
--- a/c/src/lib/libbsp/sh/simsh4/ChangeLog
+++ b/c/src/lib/libbsp/sh/simsh4/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * clock/ckinit.c, console/console.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c b/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c
index 4e07f09c49..d423d41b9c 100644
--- a/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c
+++ b/c/src/lib/libbsp/sh/simsh4/clock/ckinit.c
@@ -102,7 +102,7 @@ Install_clock(rtems_isr_entry clock_isr)
Clock_driver_ticks = 0;
if (BSP_Configuration.ticks_per_timeslice)
{
- void *old_isr;
+ rtems_isr_entry old_isr;
period = Cpu_table.clicks_per_second /
BSP_Configuration.ticks_per_timeslice;
@@ -169,7 +169,7 @@ Clock_control(rtems_device_major_number major,
if (args)
{
- void *old_isr;
+ rtems_isr_entry old_isr;
/*
* This is hokey, but until we get a defined interface
* to do this, it will just be this simple...
diff --git a/c/src/lib/libbsp/sh/simsh4/console/console.c b/c/src/lib/libbsp/sh/simsh4/console/console.c
index 08a0c04db7..86c2453abd 100644
--- a/c/src/lib/libbsp/sh/simsh4/console/console.c
+++ b/c/src/lib/libbsp/sh/simsh4/console/console.c
@@ -159,9 +159,6 @@ console_start_remote_tx(int minor)
static int
console_first_open(int major, int minor, void *arg)
{
- rtems_libio_open_close_args_t *args = arg;
- rtems_status_code sc;
-
if (minor != 0)
{
return RTEMS_INVALID_NUMBER; /* Single console supported */
@@ -426,4 +423,6 @@ console_control(rtems_device_major_number major,
{
return RTEMS_SUCCESSFUL;
}
+
+ return RTEMS_SUCCESSFUL;
}