summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/objectdata.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2020-02-12 18:15:56 -0600
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-14 07:30:38 +0100
commit3f732f0c4db358a9897c533f93cb9ff94ef5c0f3 (patch)
treeb6c8933dbc8a1536c0854bc4bdf64e4dc33c67f3 /cpukit/include/rtems/score/objectdata.h
parentscore: Simplify _Thread_Initialize() (diff)
downloadrtems-3f732f0c4db358a9897c533f93cb9ff94ef5c0f3.tar.bz2
objectdata.h, objectimpl.h: Change structure member from free to deallocate
Without this change, rtems-libbsd does not compile. A macro turns free into bsd_free. Also the use of a standard library element as a program identifier is a violation of a MISRA rule. Turns out that was a good rule. :)
Diffstat (limited to 'cpukit/include/rtems/score/objectdata.h')
-rw-r--r--cpukit/include/rtems/score/objectdata.h2
1 files changed, 1 insertions, 1 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.