diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 14:12:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:40 +0200 |
commit | 36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b (patch) | |
tree | ef589792781b889c8bf8bee1e46c13815770a575 /cpukit/score/include/rtems/score/objectimpl.h | |
parent | score: Simplify _Objects_Initialize_information() (diff) | |
download | rtems-36cd27c1e3ebb3796fa486cddd36b43b7be4cb6b.tar.bz2 |
score: Simplify _Objects_Get_next()
Remove unused location parameter.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index 47d17dd37a..6877b8e9fe 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -680,19 +680,19 @@ Objects_Control *_Objects_Get_no_protection( * * Locks the object allocator mutex in case a next object exists. * - * @param[in] information points to an object class information block. * @param[in] id is the Id of the object whose name we are locating. - * @param[in] location_p will contain an indication of success or failure. + * This is the first parameter since usual callers get the object identifier + * as the first parameter themself. + * @param[in] information points to an object class information block. * @param[in] next_id_p is the Id of the next object we will look at. * * @retval This method returns the pointer to the object located or * NULL on error. */ Objects_Control *_Objects_Get_next( - Objects_Information *information, - Objects_Id id, - Objects_Locations *location_p, - Objects_Id *next_id_p + Objects_Id id, + const Objects_Information *information, + Objects_Id *next_id_p ); /** |