forked from Imagelibrary/rtems
posix/*.c: Remove use of register keyword
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user