summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/score/inline/rtems/score/object.inl4
-rw-r--r--cpukit/score/inline/rtems/score/object.inl4
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/score/inline/rtems/score/object.inl b/c/src/exec/score/inline/rtems/score/object.inl
index ce149f33d8..73a496d30c 100644
--- a/c/src/exec/score/inline/rtems/score/object.inl
+++ b/c/src/exec/score/inline/rtems/score/object.inl
@@ -171,7 +171,7 @@ RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Get_local_object(
unsigned32 index
)
{
- if ( index > information->maximum)
+ if ( index > information->maximum )
return NULL;
return ( information->local_table[ index ] );
}
@@ -192,7 +192,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Set_local_object(
Objects_Control *the_object
)
{
- if ( index <= information->maximum)
+ if ( index <= information->maximum )
information->local_table[ index ] = the_object;
}
diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl
index ce149f33d8..73a496d30c 100644
--- a/cpukit/score/inline/rtems/score/object.inl
+++ b/cpukit/score/inline/rtems/score/object.inl
@@ -171,7 +171,7 @@ RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Get_local_object(
unsigned32 index
)
{
- if ( index > information->maximum)
+ if ( index > information->maximum )
return NULL;
return ( information->local_table[ index ] );
}
@@ -192,7 +192,7 @@ RTEMS_INLINE_ROUTINE void _Objects_Set_local_object(
Objects_Control *the_object
)
{
- if ( index <= information->maximum)
+ if ( index <= information->maximum )
information->local_table[ index ] = the_object;
}