mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-31 13:08:56 +08:00
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c: Removed warnings.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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...
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user