From ac85d56d48cdff59314c2ffa125b04a7e56a4ecf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 26 Sep 2009 15:47:16 +0000 Subject: 2009-09-26 Joel Sherrill * sp04/tswitch.c, sp07/system.h, sp07/taskexit.c, sp07/tdelete.c, sp07/tstart.c, spfatal_support/init.c, spfatal_support/system.h: Eliminate use of deprecated rtems_extension. --- testsuites/sptests/ChangeLog | 6 ++++++ testsuites/sptests/sp04/tswitch.c | 2 +- testsuites/sptests/sp07/system.h | 10 +++++----- testsuites/sptests/sp07/taskexit.c | 4 ++-- testsuites/sptests/sp07/tdelete.c | 4 ++-- testsuites/sptests/sp07/tstart.c | 4 ++-- testsuites/sptests/spfatal_support/init.c | 4 ++-- testsuites/sptests/spfatal_support/system.h | 2 +- 8 files changed, 21 insertions(+), 15 deletions(-) (limited to 'testsuites') diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index a60c1656a6..8e68c2b7c5 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,9 @@ +2009-09-26 Joel Sherrill + + * sp04/tswitch.c, sp07/system.h, sp07/taskexit.c, sp07/tdelete.c, + sp07/tstart.c, spfatal_support/init.c, spfatal_support/system.h: + Eliminate use of deprecated rtems_extension. + 2009-09-25 Joel Sherrill * sp14/asr.c, sp14/sp14.doc, sp14/task1.c, sp14/task2.c: Adjust test to diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c index a8c2b208e6..a622e6126c 100644 --- a/testsuites/sptests/sp04/tswitch.c +++ b/testsuites/sptests/sp04/tswitch.c @@ -30,7 +30,7 @@ struct taskSwitchLog taskSwitchLog[1000]; unsigned int taskSwitchLogIndex; volatile int testsFinished; -rtems_extension Task_switch( +void Task_switch( rtems_tcb *unused, rtems_tcb *heir ) diff --git a/testsuites/sptests/sp07/system.h b/testsuites/sptests/sp07/system.h index 8a641edd3f..bc06807a9b 100644 --- a/testsuites/sptests/sp07/system.h +++ b/testsuites/sptests/sp07/system.h @@ -3,7 +3,7 @@ * This include file contains information that is included in every * function in the test set. * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -52,22 +52,22 @@ bool Task_create_extension( rtems_tcb *created_task ); -rtems_extension Task_delete_extension( +void Task_delete_extension( rtems_tcb *running_task, rtems_tcb *deleted_task ); -rtems_extension Task_restart_extension( +void Task_restart_extension( rtems_tcb *unused, rtems_tcb *restarted_task ); -rtems_extension Task_start_extension( +void Task_start_extension( rtems_tcb *unused, rtems_tcb *started_task ); -rtems_extension Task_exit_extension( +void Task_exit_extension( rtems_tcb *running_task ); diff --git a/testsuites/sptests/sp07/taskexit.c b/testsuites/sptests/sp07/taskexit.c index 7a5563d34b..8019bad523 100644 --- a/testsuites/sptests/sp07/taskexit.c +++ b/testsuites/sptests/sp07/taskexit.c @@ -6,7 +6,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -18,7 +18,7 @@ #include "system.h" -rtems_extension Task_exit_extension( +void Task_exit_extension( rtems_tcb *running_task ) { diff --git a/testsuites/sptests/sp07/tdelete.c b/testsuites/sptests/sp07/tdelete.c index 868ae7a3c0..b1180a162e 100644 --- a/testsuites/sptests/sp07/tdelete.c +++ b/testsuites/sptests/sp07/tdelete.c @@ -8,7 +8,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -20,7 +20,7 @@ #include "system.h" -rtems_extension Task_delete_extension( +void Task_delete_extension( rtems_tcb *running_task, rtems_tcb *deleted_task ) diff --git a/testsuites/sptests/sp07/tstart.c b/testsuites/sptests/sp07/tstart.c index 8fe271a738..ef9c186534 100644 --- a/testsuites/sptests/sp07/tstart.c +++ b/testsuites/sptests/sp07/tstart.c @@ -8,7 +8,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -20,7 +20,7 @@ #include "system.h" -rtems_extension Task_start_extension( +void Task_start_extension( rtems_tcb *unused, rtems_tcb *started_task ) diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c index 7694c7d6ab..5d37634689 100644 --- a/testsuites/sptests/spfatal_support/init.c +++ b/testsuites/sptests/spfatal_support/init.c @@ -11,7 +11,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-2008. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -118,7 +118,7 @@ void Put_Source( uint32_t source ) } -rtems_extension Fatal_extension( +void Fatal_extension( uint32_t source, bool is_internal, uint32_t error diff --git a/testsuites/sptests/spfatal_support/system.h b/testsuites/sptests/spfatal_support/system.h index 61f279e1f9..4373220c36 100644 --- a/testsuites/sptests/spfatal_support/system.h +++ b/testsuites/sptests/spfatal_support/system.h @@ -26,7 +26,7 @@ rtems_task Init( rtems_task_argument argument ); -rtems_extension Fatal_extension( +void Fatal_extension( uint32_t source, bool is_internal, uint32_t error -- cgit v1.2.3