From d7a12be9c3f1034947210d4bafa3d39fe1e74571 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Apr 2016 14:14:10 +0200 Subject: score: Optimize _Objects_Get_no_protection() Make the id the first parameter since usual callers get the object identifier as the first parameter themself. --- cpukit/score/src/objectgetnoprotection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/src/objectgetnoprotection.c') 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 Objects_Control *_Objects_Get_no_protection( - const Objects_Information *information, - Objects_Id id + Objects_Id id, + const Objects_Information *information ) { Objects_Control *the_object; -- cgit v1.2.3