Changeset 6312db3 in rtems


Ignore:
Timestamp:
Sep 14, 2002, 8:44:07 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
aebde08e
Parents:
99e797a5
Message:

2002-09-14 Joel Sherrill <joel@…>

  • 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.
Location:
cpukit/rtems
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/ChangeLog

    r99e797a5 r6312db3  
     12002-09-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/dpmemcreate.c, src/dpmemident.c, src/msgqcreate.c,
     4        src/msgqident.c, src/partcreate.c, src/partident.c,
     5        src/ratemoncreate.c, src/ratemonident.c, src/regioncreate.c,
     6        src/regionident.c, src/semcreate.c, src/semident.c, src/taskcreate.c,
     7        src/taskident.c, src/timercreate.c, src/timerident.c: Added casts
     8        to Objects_Name to eliminate warnings.
     9
    1102002-08-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • cpukit/rtems/src/dpmemcreate.c

    r99e797a5 r6312db3  
    7373    &_Dual_ported_memory_Information,
    7474    &the_port->Object,
    75     name
     75    (Objects_Name) name
    7676  );
    7777
  • cpukit/rtems/src/dpmemident.c

    r99e797a5 r6312db3  
    4747  status = _Objects_Name_to_id(
    4848    &_Dual_ported_memory_Information,
    49     name,
     49    (Objects_Name) name,
    5050    OBJECTS_SEARCH_ALL_NODES,
    5151    id
  • cpukit/rtems/src/msgqcreate.c

    r99e797a5 r6312db3  
    139139    &_Message_queue_Information,
    140140    &the_message_queue->Object,
    141     name
     141    (Objects_Name) name
    142142  );
    143143
  • cpukit/rtems/src/msgqident.c

    r99e797a5 r6312db3  
    5959  status = _Objects_Name_to_id(
    6060    &_Message_queue_Information,
    61     name,
     61    (Objects_Name) name,
    6262    node,
    6363    id
  • cpukit/rtems/src/partcreate.c

    r99e797a5 r6312db3  
    9898                        length / buffer_size, buffer_size );
    9999
    100   _Objects_Open( &_Partition_Information, &the_partition->Object, name );
     100  _Objects_Open(
     101    &_Partition_Information,
     102    &the_partition->Object,
     103    (Objects_Name) name
     104  );
    101105
    102106  *id = the_partition->Object.id;
  • cpukit/rtems/src/partident.c

    r99e797a5 r6312db3  
    4848  Objects_Name_to_id_errors  status;
    4949
    50   status = _Objects_Name_to_id( &_Partition_Information, name, node, id );
     50  status = _Objects_Name_to_id(
     51    &_Partition_Information,
     52    (Objects_Name) name,
     53    node,
     54    id
     55  );
    5156
    5257  return _Status_Object_name_errors_to_status[ status ];
  • cpukit/rtems/src/ratemoncreate.c

    r99e797a5 r6312db3  
    6060  the_period->state = RATE_MONOTONIC_INACTIVE;
    6161
    62   _Objects_Open( &_Rate_monotonic_Information, &the_period->Object, name );
     62  _Objects_Open(
     63    &_Rate_monotonic_Information,
     64    &the_period->Object,
     65    (Objects_Name) name
     66  );
    6367
    6468  *id = the_period->Object.id;
  • cpukit/rtems/src/ratemonident.c

    r99e797a5 r6312db3  
    4747  status = _Objects_Name_to_id(
    4848    &_Rate_monotonic_Information,
    49     name,
     49    (Objects_Name) name,
    5050    OBJECTS_SEARCH_LOCAL_NODE,
    5151    id
  • cpukit/rtems/src/regioncreate.c

    r99e797a5 r6312db3  
    9393  );
    9494
    95   _Objects_Open( &_Region_Information, &the_region->Object, name );
     95  _Objects_Open(
     96    &_Region_Information,
     97    &the_region->Object,
     98    (Objects_Name) name
     99  );
    96100
    97101  *id = the_region->Object.id;
  • cpukit/rtems/src/regionident.c

    r99e797a5 r6312db3  
    4949  status = _Objects_Name_to_id(
    5050    &_Region_Information,
    51     name,
     51    (Objects_Name) name,
    5252    OBJECTS_SEARCH_LOCAL_NODE,
    5353    id
  • cpukit/rtems/src/semcreate.c

    r99e797a5 r6312db3  
    202202  }
    203203
    204   _Objects_Open( &_Semaphore_Information, &the_semaphore->Object, name );
     204  _Objects_Open(
     205    &_Semaphore_Information,
     206    &the_semaphore->Object,
     207    (Objects_Name) name
     208  );
    205209
    206210  *id = the_semaphore->Object.id;
  • cpukit/rtems/src/semident.c

    r99e797a5 r6312db3  
    7272  Objects_Name_to_id_errors  status;
    7373 
    74   status = _Objects_Name_to_id( &_Semaphore_Information, name, node, id );
     74  status = _Objects_Name_to_id(
     75    &_Semaphore_Information,
     76    (Objects_Name) name,
     77    node,
     78    id
     79  );
    7580 
    7681  return _Status_Object_name_errors_to_status[ status ];
  • cpukit/rtems/src/taskcreate.c

    r99e797a5 r6312db3  
    183183    NULL,        /* no budget algorithm callout */
    184184    _Modes_Get_interrupt_level(initial_modes),
    185     name
     185    (Objects_Name) name
    186186  );
    187187
  • cpukit/rtems/src/taskident.c

    r99e797a5 r6312db3  
    6060   }
    6161
    62   status = _Objects_Name_to_id( &_RTEMS_tasks_Information, name, node, id );
     62  status = _Objects_Name_to_id(
     63    &_RTEMS_tasks_Information,
     64    (Objects_Name) name,
     65    node,
     66    id
     67  );
    6368
    6469  return _Status_Object_name_errors_to_status[ status ];
  • cpukit/rtems/src/timercreate.c

    r99e797a5 r6312db3  
    5959  the_timer->the_class = TIMER_DORMANT;
    6060
    61   _Objects_Open( &_Timer_Information, &the_timer->Object, name );
     61  _Objects_Open(
     62    &_Timer_Information,
     63    &the_timer->Object,
     64    (Objects_Name) name
     65  );
    6266
    6367  *id = the_timer->Object.id;
  • cpukit/rtems/src/timerident.c

    r99e797a5 r6312db3  
    4848  status = _Objects_Name_to_id(
    4949    &_Timer_Information,
    50     name,
     50    (Objects_Name) name,
    5151    OBJECTS_SEARCH_LOCAL_NODE,
    5252    id
Note: See TracChangeset for help on using the changeset viewer.