diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 14:14:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:40 +0200 |
commit | d7a12be9c3f1034947210d4bafa3d39fe1e74571 (patch) | |
tree | b6371a8816cb82265149fb5aa861e49ebf1598b9 /cpukit/score/src/objectgetnoprotection.c | |
parent | score: Simplify _Objects_Get_next() (diff) | |
download | rtems-d7a12be9c3f1034947210d4bafa3d39fe1e74571.tar.bz2 |
score: Optimize _Objects_Get_no_protection()
Make the id the first parameter since usual callers get the object
identifier as the first parameter themself.
Diffstat (limited to 'cpukit/score/src/objectgetnoprotection.c')
-rw-r--r-- | cpukit/score/src/objectgetnoprotection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/objectgetnoprotection.c b/cpukit/score/src/objectgetnoprotection.c index eaa172c83b..85692234fa 100644 --- a/cpukit/score/src/objectgetnoprotection.c +++ b/cpukit/score/src/objectgetnoprotection.c @@ -21,8 +21,8 @@ #include <rtems/score/objectimpl.h> Objects_Control *_Objects_Get_no_protection( - const Objects_Information *information, - Objects_Id id + Objects_Id id, + const Objects_Information *information ) { Objects_Control *the_object; |