From e633f3b51c573be2d8a6d6c58acfea55c921aa58 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 31 Jan 2014 11:03:24 -0600 Subject: posix/*.c: Remove use of register keyword --- cpukit/posix/src/condsignalsupp.c | 4 ++-- cpukit/posix/src/condwaitsupp.c | 4 ++-- cpukit/posix/src/mqueueunlink.c | 4 ++-- cpukit/posix/src/mutexlocksupp.c | 4 ++-- cpukit/posix/src/pthreaddetach.c | 4 ++-- cpukit/posix/src/pthreadgetschedparam.c | 4 ++-- cpukit/posix/src/pthreadjoin.c | 4 ++-- cpukit/posix/src/pthreadsetschedparam.c | 4 ++-- cpukit/posix/src/semclose.c | 4 ++-- cpukit/posix/src/semdestroy.c | 4 ++-- cpukit/posix/src/semgetvalue.c | 4 ++-- cpukit/posix/src/sempost.c | 4 ++-- cpukit/posix/src/semunlink.c | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/cpukit/posix/src/condsignalsupp.c b/cpukit/posix/src/condsignalsupp.c index 229f96cacb..b8cb89fb7e 100644 --- a/cpukit/posix/src/condsignalsupp.c +++ b/cpukit/posix/src/condsignalsupp.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -39,7 +39,7 @@ int _POSIX_Condition_variables_Signal_support( bool is_broadcast ) { - register POSIX_Condition_variables_Control *the_cond; + POSIX_Condition_variables_Control *the_cond; Objects_Locations location; Thread_Control *the_thread; diff --git a/cpukit/posix/src/condwaitsupp.c b/cpukit/posix/src/condwaitsupp.c index e5299075bc..8aafad3917 100644 --- a/cpukit/posix/src/condwaitsupp.c +++ b/cpukit/posix/src/condwaitsupp.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -34,7 +34,7 @@ int _POSIX_Condition_variables_Wait_support( bool already_timedout ) { - register POSIX_Condition_variables_Control *the_cond; + POSIX_Condition_variables_Control *the_cond; POSIX_Mutex_Control *the_mutex; Objects_Locations location; int status; diff --git a/cpukit/posix/src/mqueueunlink.c b/cpukit/posix/src/mqueueunlink.c index e2bf2a2465..76612e7fc8 100644 --- a/cpukit/posix/src/mqueueunlink.c +++ b/cpukit/posix/src/mqueueunlink.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -42,7 +42,7 @@ int mq_unlink( ) { int status; - register POSIX_Message_queue_Control *the_mq; + POSIX_Message_queue_Control *the_mq; Objects_Id the_mq_id; size_t name_len; diff --git a/cpukit/posix/src/mutexlocksupp.c b/cpukit/posix/src/mutexlocksupp.c index cba64da01d..f03dacf95f 100644 --- a/cpukit/posix/src/mutexlocksupp.c +++ b/cpukit/posix/src/mutexlocksupp.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -41,7 +41,7 @@ int _POSIX_Mutex_Lock_support( Watchdog_Interval timeout ) { - register POSIX_Mutex_Control *the_mutex; + POSIX_Mutex_Control *the_mutex; Objects_Locations location; ISR_Level level; Thread_Control *executing; diff --git a/cpukit/posix/src/pthreaddetach.c b/cpukit/posix/src/pthreaddetach.c index 74df253bd3..1087a2c592 100644 --- a/cpukit/posix/src/pthreaddetach.c +++ b/cpukit/posix/src/pthreaddetach.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -31,7 +31,7 @@ int pthread_detach( pthread_t thread ) { - register Thread_Control *the_thread; + Thread_Control *the_thread; POSIX_API_Control *api; Objects_Locations location; diff --git a/cpukit/posix/src/pthreadgetschedparam.c b/cpukit/posix/src/pthreadgetschedparam.c index 6876e1387e..9faf4d06b1 100644 --- a/cpukit/posix/src/pthreadgetschedparam.c +++ b/cpukit/posix/src/pthreadgetschedparam.c @@ -9,7 +9,7 @@ * 13.5.2 Dynamic Thread Scheduling Parameters Access, * P1003.1c/Draft 10, p. 124 * - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -36,7 +36,7 @@ int pthread_getschedparam( { Objects_Locations location; POSIX_API_Control *api; - register Thread_Control *the_thread; + Thread_Control *the_thread; if ( !policy || !param ) return EINVAL; diff --git a/cpukit/posix/src/pthreadjoin.c b/cpukit/posix/src/pthreadjoin.c index 6b562ecf41..cad7a35d91 100644 --- a/cpukit/posix/src/pthreadjoin.c +++ b/cpukit/posix/src/pthreadjoin.c @@ -8,7 +8,7 @@ /* * 16.1.3 Wait for Thread Termination, P1003.1c/Draft 10, p. 147 * - * COPYRIGHT (c) 1989-2011. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -32,7 +32,7 @@ int pthread_join( void **value_ptr ) { - register Thread_Control *the_thread; + Thread_Control *the_thread; POSIX_API_Control *api; Objects_Locations location; void *return_pointer; diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c index a54a689b9e..2759609574 100644 --- a/cpukit/posix/src/pthreadsetschedparam.c +++ b/cpukit/posix/src/pthreadsetschedparam.c @@ -10,7 +10,7 @@ * P1003.1c/Draft 10, p. 124 */ -/* COPYRIGHT (c) 1989-2007. +/* COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -37,7 +37,7 @@ int pthread_setschedparam( struct sched_param *param ) { - register Thread_Control *the_thread; + Thread_Control *the_thread; POSIX_API_Control *api; Thread_CPU_budget_algorithms budget_algorithm; Thread_CPU_budget_algorithm_callout budget_callout; diff --git a/cpukit/posix/src/semclose.c b/cpukit/posix/src/semclose.c index 2b7eb4a487..f85c199126 100644 --- a/cpukit/posix/src/semclose.c +++ b/cpukit/posix/src/semclose.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -35,7 +35,7 @@ int sem_close( sem_t *sem ) { - register POSIX_Semaphore_Control *the_semaphore; + POSIX_Semaphore_Control *the_semaphore; Objects_Locations location; the_semaphore = _POSIX_Semaphore_Get( sem, &location ); diff --git a/cpukit/posix/src/semdestroy.c b/cpukit/posix/src/semdestroy.c index f4bb1a8469..602b35d17f 100644 --- a/cpukit/posix/src/semdestroy.c +++ b/cpukit/posix/src/semdestroy.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -35,7 +35,7 @@ int sem_destroy( sem_t *sem ) { - register POSIX_Semaphore_Control *the_semaphore; + POSIX_Semaphore_Control *the_semaphore; Objects_Locations location; the_semaphore = _POSIX_Semaphore_Get( sem, &location ); diff --git a/cpukit/posix/src/semgetvalue.c b/cpukit/posix/src/semgetvalue.c index 65b85e1941..fd5e6f4fbe 100644 --- a/cpukit/posix/src/semgetvalue.c +++ b/cpukit/posix/src/semgetvalue.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -36,7 +36,7 @@ int sem_getvalue( int *__restrict sval ) { - register POSIX_Semaphore_Control *the_semaphore; + POSIX_Semaphore_Control *the_semaphore; Objects_Locations location; the_semaphore = _POSIX_Semaphore_Get( sem, &location ); diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c index d3cd166815..cd774b13d9 100644 --- a/cpukit/posix/src/sempost.c +++ b/cpukit/posix/src/sempost.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2013. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -35,7 +35,7 @@ int sem_post( sem_t *sem ) { - register POSIX_Semaphore_Control *the_semaphore; + POSIX_Semaphore_Control *the_semaphore; Objects_Locations location; the_semaphore = _POSIX_Semaphore_Get( sem, &location ); diff --git a/cpukit/posix/src/semunlink.c b/cpukit/posix/src/semunlink.c index 8f268d9a3d..578af68909 100644 --- a/cpukit/posix/src/semunlink.c +++ b/cpukit/posix/src/semunlink.c @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -36,7 +36,7 @@ int sem_unlink( ) { int status; - register POSIX_Semaphore_Control *the_semaphore; + POSIX_Semaphore_Control *the_semaphore; Objects_Id the_semaphore_id; size_t name_len; -- cgit v1.2.3