summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpukit/include/rtems/score/objectdata.h2
-rw-r--r--cpukit/include/rtems/score/objectimpl.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/include/rtems/score/objectdata.h b/cpukit/include/rtems/score/objectdata.h
index 3d1a79c38b..56a1b8eb13 100644
--- a/cpukit/include/rtems/score/objectdata.h
+++ b/cpukit/include/rtems/score/objectdata.h
@@ -210,7 +210,7 @@ struct Objects_Information {
*
* @see _Objects_Free_static(), and _Objects_Free_unlimited().
*/
- void ( *free )( Objects_Information *, Objects_Control * );
+ void ( *deallocate )( Objects_Information *, Objects_Control * );
/**
* @brief This is the number of object control blocks on the inactive chain.
diff --git a/cpukit/include/rtems/score/objectimpl.h b/cpukit/include/rtems/score/objectimpl.h
index 5ade0edc5a..c540f90166 100644
--- a/cpukit/include/rtems/score/objectimpl.h
+++ b/cpukit/include/rtems/score/objectimpl.h
@@ -933,8 +933,8 @@ RTEMS_INLINE_ROUTINE void _Objects_Free(
)
{
_Assert( _Objects_Allocator_is_owner() );
- _Assert( information->free != NULL );
- ( *information->free )( information, the_object );
+ _Assert( information->deallocate != NULL );
+ ( *information->deallocate )( information, the_object );
}
/**