[rtems commit] posix/*.c: Remove use of register keyword
Joel Sherrill
joel at rtems.org
Mon Feb 3 23:38:16 UTC 2014
Module: rtems
Branch: master
Commit: e633f3b51c573be2d8a6d6c58acfea55c921aa58
Changeset: http://git.rtems.org/rtems/commit/?id=e633f3b51c573be2d8a6d6c58acfea55c921aa58
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Fri Jan 31 11:03:24 2014 -0600
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 229f96c..b8cb89f 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 e529907..8aafad3 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 e2bf2a2..76612e7 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 cba64da..f03dacf 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 74df253..1087a2c 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 6876e13..9faf4d0 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 6b562ec..cad7a35 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 a54a689..2759609 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 2b7eb4a..f85c199 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 f4bb1a8..602b35d 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 65b85e1..fd5e6f4 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 d3cd166..cd774b1 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 8f268d9..578af68 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;
More information about the vc
mailing list