summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-14 20:44:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-14 20:44:07 +0000
commit6312db301df3b2cfd898b7b197b895c6e087b6f7 (patch)
tree51a792b56506fb9afedd4dd76ad19461e5fe0aba
parent99e797a5d441cfcdadcaab197b142841bc84975f (diff)
downloadrtems-6312db301df3b2cfd898b7b197b895c6e087b6f7.tar.bz2
2002-09-14 Joel Sherrill <joel@OARcorp.com>
* src/dpmemcreate.c, src/dpmemident.c, src/msgqcreate.c, src/msgqident.c, src/partcreate.c, src/partident.c, src/ratemoncreate.c, src/ratemonident.c, src/regioncreate.c, src/regionident.c, src/semcreate.c, src/semident.c, src/taskcreate.c, src/taskident.c, src/timercreate.c, src/timerident.c: Added casts to Objects_Name to eliminate warnings.
-rw-r--r--cpukit/rtems/ChangeLog9
-rw-r--r--cpukit/rtems/src/dpmemcreate.c2
-rw-r--r--cpukit/rtems/src/dpmemident.c2
-rw-r--r--cpukit/rtems/src/msgqcreate.c2
-rw-r--r--cpukit/rtems/src/msgqident.c2
-rw-r--r--cpukit/rtems/src/partcreate.c6
-rw-r--r--cpukit/rtems/src/partident.c7
-rw-r--r--cpukit/rtems/src/ratemoncreate.c6
-rw-r--r--cpukit/rtems/src/ratemonident.c2
-rw-r--r--cpukit/rtems/src/regioncreate.c6
-rw-r--r--cpukit/rtems/src/regionident.c2
-rw-r--r--cpukit/rtems/src/semcreate.c6
-rw-r--r--cpukit/rtems/src/semident.c7
-rw-r--r--cpukit/rtems/src/taskcreate.c2
-rw-r--r--cpukit/rtems/src/taskident.c7
-rw-r--r--cpukit/rtems/src/timercreate.c6
-rw-r--r--cpukit/rtems/src/timerident.c2
17 files changed, 60 insertions, 16 deletions
diff --git a/cpukit/rtems/ChangeLog b/cpukit/rtems/ChangeLog
index fc5017efc2..357fa79cb3 100644
--- a/cpukit/rtems/ChangeLog
+++ b/cpukit/rtems/ChangeLog
@@ -1,3 +1,12 @@
+2002-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * src/dpmemcreate.c, src/dpmemident.c, src/msgqcreate.c,
+ src/msgqident.c, src/partcreate.c, src/partident.c,
+ src/ratemoncreate.c, src/ratemonident.c, src/regioncreate.c,
+ src/regionident.c, src/semcreate.c, src/semident.c, src/taskcreate.c,
+ src/taskident.c, src/timercreate.c, src/timerident.c: Added casts
+ to Objects_Name to eliminate warnings.
+
2002-08-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Add librtems.a.
diff --git a/cpukit/rtems/src/dpmemcreate.c b/cpukit/rtems/src/dpmemcreate.c
index 951391d8b6..03170016dd 100644
--- a/cpukit/rtems/src/dpmemcreate.c
+++ b/cpukit/rtems/src/dpmemcreate.c
@@ -72,7 +72,7 @@ rtems_status_code rtems_port_create(
_Objects_Open(
&_Dual_ported_memory_Information,
&the_port->Object,
- name
+ (Objects_Name) name
);
*id = the_port->Object.id;
diff --git a/cpukit/rtems/src/dpmemident.c b/cpukit/rtems/src/dpmemident.c
index e68bf23d6c..b0a3506c78 100644
--- a/cpukit/rtems/src/dpmemident.c
+++ b/cpukit/rtems/src/dpmemident.c
@@ -46,7 +46,7 @@ rtems_status_code rtems_port_ident(
status = _Objects_Name_to_id(
&_Dual_ported_memory_Information,
- name,
+ (Objects_Name) name,
OBJECTS_SEARCH_ALL_NODES,
id
);
diff --git a/cpukit/rtems/src/msgqcreate.c b/cpukit/rtems/src/msgqcreate.c
index 537704360b..9d8a5e1380 100644
--- a/cpukit/rtems/src/msgqcreate.c
+++ b/cpukit/rtems/src/msgqcreate.c
@@ -138,7 +138,7 @@ rtems_status_code rtems_message_queue_create(
_Objects_Open(
&_Message_queue_Information,
&the_message_queue->Object,
- name
+ (Objects_Name) name
);
*id = the_message_queue->Object.id;
diff --git a/cpukit/rtems/src/msgqident.c b/cpukit/rtems/src/msgqident.c
index 253d90b616..8931abfee8 100644
--- a/cpukit/rtems/src/msgqident.c
+++ b/cpukit/rtems/src/msgqident.c
@@ -58,7 +58,7 @@ rtems_status_code rtems_message_queue_ident(
status = _Objects_Name_to_id(
&_Message_queue_Information,
- name,
+ (Objects_Name) name,
node,
id
);
diff --git a/cpukit/rtems/src/partcreate.c b/cpukit/rtems/src/partcreate.c
index ffd398b3e1..f45cd4a219 100644
--- a/cpukit/rtems/src/partcreate.c
+++ b/cpukit/rtems/src/partcreate.c
@@ -97,7 +97,11 @@ rtems_status_code rtems_partition_create(
_Chain_Initialize( &the_partition->Memory, starting_address,
length / buffer_size, buffer_size );
- _Objects_Open( &_Partition_Information, &the_partition->Object, name );
+ _Objects_Open(
+ &_Partition_Information,
+ &the_partition->Object,
+ (Objects_Name) name
+ );
*id = the_partition->Object.id;
#if defined(RTEMS_MULTIPROCESSING)
diff --git a/cpukit/rtems/src/partident.c b/cpukit/rtems/src/partident.c
index ce65b76ae9..f67d99c643 100644
--- a/cpukit/rtems/src/partident.c
+++ b/cpukit/rtems/src/partident.c
@@ -47,7 +47,12 @@ rtems_status_code rtems_partition_ident(
{
Objects_Name_to_id_errors status;
- status = _Objects_Name_to_id( &_Partition_Information, name, node, id );
+ status = _Objects_Name_to_id(
+ &_Partition_Information,
+ (Objects_Name) name,
+ node,
+ id
+ );
return _Status_Object_name_errors_to_status[ status ];
}
diff --git a/cpukit/rtems/src/ratemoncreate.c b/cpukit/rtems/src/ratemoncreate.c
index a27fa2ee7a..3be6842512 100644
--- a/cpukit/rtems/src/ratemoncreate.c
+++ b/cpukit/rtems/src/ratemoncreate.c
@@ -59,7 +59,11 @@ rtems_status_code rtems_rate_monotonic_create(
the_period->owner = _Thread_Executing;
the_period->state = RATE_MONOTONIC_INACTIVE;
- _Objects_Open( &_Rate_monotonic_Information, &the_period->Object, name );
+ _Objects_Open(
+ &_Rate_monotonic_Information,
+ &the_period->Object,
+ (Objects_Name) name
+ );
*id = the_period->Object.id;
_Thread_Enable_dispatch();
diff --git a/cpukit/rtems/src/ratemonident.c b/cpukit/rtems/src/ratemonident.c
index 33d4e3fd3d..15ca220c5a 100644
--- a/cpukit/rtems/src/ratemonident.c
+++ b/cpukit/rtems/src/ratemonident.c
@@ -46,7 +46,7 @@ rtems_status_code rtems_rate_monotonic_ident(
status = _Objects_Name_to_id(
&_Rate_monotonic_Information,
- name,
+ (Objects_Name) name,
OBJECTS_SEARCH_LOCAL_NODE,
id
);
diff --git a/cpukit/rtems/src/regioncreate.c b/cpukit/rtems/src/regioncreate.c
index 1bb8620a88..fff2df120b 100644
--- a/cpukit/rtems/src/regioncreate.c
+++ b/cpukit/rtems/src/regioncreate.c
@@ -92,7 +92,11 @@ rtems_status_code rtems_region_create(
RTEMS_TIMEOUT
);
- _Objects_Open( &_Region_Information, &the_region->Object, name );
+ _Objects_Open(
+ &_Region_Information,
+ &the_region->Object,
+ (Objects_Name) name
+ );
*id = the_region->Object.id;
_RTEMS_Unlock_allocator();
diff --git a/cpukit/rtems/src/regionident.c b/cpukit/rtems/src/regionident.c
index b1e9ec77b0..757cf416b5 100644
--- a/cpukit/rtems/src/regionident.c
+++ b/cpukit/rtems/src/regionident.c
@@ -48,7 +48,7 @@ rtems_status_code rtems_region_ident(
status = _Objects_Name_to_id(
&_Region_Information,
- name,
+ (Objects_Name) name,
OBJECTS_SEARCH_LOCAL_NODE,
id
);
diff --git a/cpukit/rtems/src/semcreate.c b/cpukit/rtems/src/semcreate.c
index 5d0fffb575..20835c91c7 100644
--- a/cpukit/rtems/src/semcreate.c
+++ b/cpukit/rtems/src/semcreate.c
@@ -201,7 +201,11 @@ rtems_status_code rtems_semaphore_create(
);
}
- _Objects_Open( &_Semaphore_Information, &the_semaphore->Object, name );
+ _Objects_Open(
+ &_Semaphore_Information,
+ &the_semaphore->Object,
+ (Objects_Name) name
+ );
*id = the_semaphore->Object.id;
diff --git a/cpukit/rtems/src/semident.c b/cpukit/rtems/src/semident.c
index 9cb642ad77..e11b8b0d31 100644
--- a/cpukit/rtems/src/semident.c
+++ b/cpukit/rtems/src/semident.c
@@ -71,7 +71,12 @@ rtems_status_code rtems_semaphore_ident(
{
Objects_Name_to_id_errors status;
- status = _Objects_Name_to_id( &_Semaphore_Information, name, node, id );
+ status = _Objects_Name_to_id(
+ &_Semaphore_Information,
+ (Objects_Name) name,
+ node,
+ id
+ );
return _Status_Object_name_errors_to_status[ status ];
}
diff --git a/cpukit/rtems/src/taskcreate.c b/cpukit/rtems/src/taskcreate.c
index c445589687..d4cb33eb42 100644
--- a/cpukit/rtems/src/taskcreate.c
+++ b/cpukit/rtems/src/taskcreate.c
@@ -182,7 +182,7 @@ rtems_status_code rtems_task_create(
THREAD_CPU_BUDGET_ALGORITHM_NONE,
NULL, /* no budget algorithm callout */
_Modes_Get_interrupt_level(initial_modes),
- name
+ (Objects_Name) name
);
if ( !status ) {
diff --git a/cpukit/rtems/src/taskident.c b/cpukit/rtems/src/taskident.c
index f58b462814..27d0ed950a 100644
--- a/cpukit/rtems/src/taskident.c
+++ b/cpukit/rtems/src/taskident.c
@@ -59,7 +59,12 @@ rtems_status_code rtems_task_ident(
return RTEMS_SUCCESSFUL;
}
- status = _Objects_Name_to_id( &_RTEMS_tasks_Information, name, node, id );
+ status = _Objects_Name_to_id(
+ &_RTEMS_tasks_Information,
+ (Objects_Name) name,
+ node,
+ id
+ );
return _Status_Object_name_errors_to_status[ status ];
}
diff --git a/cpukit/rtems/src/timercreate.c b/cpukit/rtems/src/timercreate.c
index a2e1fb72c5..df8ed7b17b 100644
--- a/cpukit/rtems/src/timercreate.c
+++ b/cpukit/rtems/src/timercreate.c
@@ -58,7 +58,11 @@ rtems_status_code rtems_timer_create(
the_timer->the_class = TIMER_DORMANT;
- _Objects_Open( &_Timer_Information, &the_timer->Object, name );
+ _Objects_Open(
+ &_Timer_Information,
+ &the_timer->Object,
+ (Objects_Name) name
+ );
*id = the_timer->Object.id;
_Thread_Enable_dispatch();
diff --git a/cpukit/rtems/src/timerident.c b/cpukit/rtems/src/timerident.c
index f8e1815026..64d0666fd0 100644
--- a/cpukit/rtems/src/timerident.c
+++ b/cpukit/rtems/src/timerident.c
@@ -47,7 +47,7 @@ rtems_status_code rtems_timer_ident(
status = _Objects_Name_to_id(
&_Timer_Information,
- name,
+ (Objects_Name) name,
OBJECTS_SEARCH_LOCAL_NODE,
id
);