rtems/*.c: Remove use of register keyword

This commit is contained in:
Joel Sherrill
2014-01-31 10:55:17 -06:00
parent e1b96b83e5
commit 3a638ceb4c
37 changed files with 73 additions and 73 deletions

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-1999.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -33,7 +33,7 @@ rtems_status_code rtems_port_create(
rtems_id *id
)
{
register Dual_ported_memory_Control *the_port;
Dual_ported_memory_Control *the_port;
if ( !rtems_is_name_valid( name ) )
return RTEMS_INVALID_NAME;

View File

@@ -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
@@ -29,7 +29,7 @@ rtems_status_code rtems_port_delete(
rtems_id id
)
{
register Dual_ported_memory_Control *the_port;
Dual_ported_memory_Control *the_port;
Objects_Locations location;
the_port = _Dual_ported_memory_Get( id, &location );

View File

@@ -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 @@ rtems_status_code rtems_port_external_to_internal(
void **internal
)
{
register Dual_ported_memory_Control *the_port;
Dual_ported_memory_Control *the_port;
Objects_Locations location;
uint32_t ending;

View File

@@ -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 @@ rtems_status_code rtems_port_internal_to_external(
void **external
)
{
register Dual_ported_memory_Control *the_port;
Dual_ported_memory_Control *the_port;
Objects_Locations location;
uint32_t ending;

View File

@@ -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
@@ -37,7 +37,7 @@ rtems_status_code rtems_message_queue_broadcast(
uint32_t *count
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
CORE_message_queue_Status core_status;

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-1999.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -39,7 +39,7 @@ rtems_status_code rtems_message_queue_create(
rtems_id *id
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
CORE_message_queue_Attributes the_msgq_attributes;
#if defined(RTEMS_MULTIPROCESSING)
bool is_global;

View File

@@ -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 @@ rtems_status_code rtems_message_queue_delete(
rtems_id id
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
the_message_queue = _Message_queue_Get( id, &location );

View File

@@ -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
@@ -52,7 +52,7 @@ rtems_status_code rtems_message_queue_flush(
uint32_t *count
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
if ( !count )

View File

@@ -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
@@ -50,7 +50,7 @@ rtems_status_code rtems_message_queue_get_number_pending(
uint32_t *count
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
if ( !count )

View File

@@ -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
@@ -38,7 +38,7 @@ rtems_status_code rtems_message_queue_receive(
rtems_interval timeout
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
bool wait;
Thread_Control *executing;

View File

@@ -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
@@ -59,7 +59,7 @@ rtems_status_code rtems_message_queue_send(
size_t size
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
CORE_message_queue_Status status;

View File

@@ -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 @@ rtems_status_code rtems_message_queue_urgent(
size_t size
)
{
register Message_queue_Control *the_message_queue;
Message_queue_Control *the_message_queue;
Objects_Locations location;
CORE_message_queue_Status status;

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-1999.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -53,7 +53,7 @@ rtems_status_code rtems_partition_create(
rtems_id *id
)
{
register Partition_Control *the_partition;
Partition_Control *the_partition;
if ( !rtems_is_name_valid( name ) )
return RTEMS_INVALID_NAME;

View File

@@ -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
@@ -26,7 +26,7 @@ rtems_status_code rtems_partition_delete(
rtems_id id
)
{
register Partition_Control *the_partition;
Partition_Control *the_partition;
Objects_Locations location;
the_partition = _Partition_Get( id, &location );

View File

@@ -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
@@ -30,7 +30,7 @@ rtems_status_code rtems_partition_get_buffer(
void **buffer
)
{
register Partition_Control *the_partition;
Partition_Control *the_partition;
Objects_Locations location;
void *the_buffer;

View File

@@ -2,7 +2,7 @@
* Partition Manager
*
*
* 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 @@ rtems_status_code rtems_partition_return_buffer(
void *buffer
)
{
register Partition_Control *the_partition;
Partition_Control *the_partition;
Objects_Locations location;
the_partition = _Partition_Get( id, &location );

View File

@@ -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
@@ -33,7 +33,7 @@ rtems_status_code rtems_region_get_free_information(
{
Objects_Locations location;
rtems_status_code return_status;
register Region_Control *the_region;
Region_Control *the_region;
if ( !the_info )
return RTEMS_INVALID_ADDRESS;

View File

@@ -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
@@ -33,7 +33,7 @@ rtems_status_code rtems_region_get_information(
{
Objects_Locations location;
rtems_status_code return_status;
register Region_Control *the_region;
Region_Control *the_region;
if ( !the_info )
return RTEMS_INVALID_ADDRESS;

View File

@@ -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
@@ -33,7 +33,7 @@ rtems_status_code rtems_region_get_segment_size(
{
Objects_Locations location;
rtems_status_code return_status = RTEMS_SUCCESSFUL;
register Region_Control *the_region;
Region_Control *the_region;
if ( !segment )
return RTEMS_INVALID_ADDRESS;

View File

@@ -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
@@ -38,7 +38,7 @@ rtems_status_code rtems_region_resize_segment(
uintptr_t osize;
rtems_status_code return_status;
Heap_Resize_status status;
register Region_Control *the_region;
Region_Control *the_region;
if ( !old_size )
return RTEMS_INVALID_ADDRESS;

View File

@@ -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
@@ -45,7 +45,7 @@ rtems_status_code rtems_region_return_segment(
uint32_t size;
#endif
int status;
register Region_Control *the_region;
Region_Control *the_region;
_RTEMS_Lock_allocator();

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-2009.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -60,7 +60,7 @@ rtems_status_code rtems_semaphore_create(
rtems_id *id
)
{
register Semaphore_Control *the_semaphore;
Semaphore_Control *the_semaphore;
CORE_mutex_Attributes the_mutex_attr;
CORE_semaphore_Attributes the_semaphore_attr;
CORE_mutex_Status mutex_status;

View File

@@ -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 @@ rtems_status_code rtems_semaphore_delete(
rtems_id id
)
{
register Semaphore_Control *the_semaphore;
Semaphore_Control *the_semaphore;
Objects_Locations location;
the_semaphore = _Semaphore_Get( id, &location );

View File

@@ -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 @@ rtems_status_code rtems_semaphore_flush(
rtems_id id
)
{
register Semaphore_Control *the_semaphore;
Semaphore_Control *the_semaphore;
Objects_Locations location;
the_semaphore = _Semaphore_Get( id, &location );

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-2008.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -37,7 +37,7 @@ rtems_status_code rtems_semaphore_obtain(
rtems_interval timeout
)
{
register Semaphore_Control *the_semaphore;
Semaphore_Control *the_semaphore;
Objects_Locations location;
ISR_Level level;
Thread_Control *executing;

View File

@@ -21,7 +21,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
@@ -69,7 +69,7 @@ rtems_status_code rtems_semaphore_release(
rtems_id id
)
{
register Semaphore_Control *the_semaphore;
Semaphore_Control *the_semaphore;
Objects_Locations location;
CORE_mutex_Status mutex_status;
CORE_semaphore_Status semaphore_status;

View File

@@ -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
@@ -29,7 +29,7 @@ rtems_status_code rtems_signal_send(
rtems_signal_set signal_set
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
RTEMS_API_Control *api;
ASR_Information *asr;

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-2008.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -35,7 +35,7 @@ rtems_status_code rtems_task_create(
rtems_id *id
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
bool is_fp;
#if defined(RTEMS_MULTIPROCESSING)
Objects_MP_Control *the_global_object = NULL;

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-2008.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -27,7 +27,7 @@ rtems_status_code rtems_task_delete(
rtems_id id
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
Objects_Information *the_information;

View File

@@ -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
@@ -28,7 +28,7 @@ rtems_status_code rtems_task_get_note(
uint32_t *note
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
RTEMS_API_Control *api;
Thread_Control *executing;

View File

@@ -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
@@ -40,7 +40,7 @@ rtems_status_code rtems_task_is_suspended(
rtems_id id
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
the_thread = _Thread_Get( id, &location );

View File

@@ -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
@@ -26,7 +26,7 @@ rtems_status_code rtems_task_restart(
uint32_t argument
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
the_thread = _Thread_Get( id, &location );

View File

@@ -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
@@ -25,7 +25,7 @@ rtems_status_code rtems_task_resume(
rtems_id id
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
the_thread = _Thread_Get( id, &location );

View File

@@ -6,7 +6,7 @@
*/
/*
* COPYRIGHT (c) 1989-2009.
* COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -28,7 +28,7 @@ rtems_status_code rtems_task_set_note(
uint32_t note
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
RTEMS_API_Control *api;
Thread_Control *executing;

View File

@@ -27,7 +27,7 @@ rtems_status_code rtems_task_set_priority(
rtems_task_priority *old_priority
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
if ( new_priority != RTEMS_CURRENT_PRIORITY &&

View File

@@ -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
@@ -44,7 +44,7 @@ rtems_status_code rtems_task_start(
rtems_task_argument argument
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
bool successfully_started;

View File

@@ -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
@@ -25,7 +25,7 @@ rtems_status_code rtems_task_suspend(
rtems_id id
)
{
register Thread_Control *the_thread;
Thread_Control *the_thread;
Objects_Locations location;
the_thread = _Thread_Get( id, &location );