RTEMS | libcsupport: Fix malloc_info() heap side effect (!1551)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Nov 12 23:22:48 UTC 2026




Kinsey Moore started a new discussion on cpukit/libcsupport/src/resource_snapshot.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1551#note_162500

 >  #include <rtems/score/wkspace.h>
 >  #include <rtems/posix/keyimpl.h>
 >  
 > +#ifdef HEAP_PROTECTION
 > +void _Heap_Protection_free_all_delayed_blocks( Heap_Control *heap );
 > +#endif
 > +

Why wouldn't this just include `rtems/score/heapimpl.h`?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1551#note_162500
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-eroeob7te65awxg591v3382fr-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261112/85293b7b/attachment-0001.htm>


More information about the bugs mailing list