From 4a794b05d84ab0553d554fc745027e6e904b4a61 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 18 Nov 2024 09:50:55 +1100 Subject: [PATCH] AP_HAL_SITL: removed heap APIs --- libraries/AP_HAL_SITL/Util.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/AP_HAL_SITL/Util.h b/libraries/AP_HAL_SITL/Util.h index 363ab27add..66cfd2a977 100644 --- a/libraries/AP_HAL_SITL/Util.h +++ b/libraries/AP_HAL_SITL/Util.h @@ -84,17 +84,6 @@ private: static ToneAlarm_SF _toneAlarm; #endif -#if ENABLE_HEAP - struct heap_allocation_header { - size_t allocation_size; // size of allocated block, not including this header - }; - - struct heap { - size_t scripting_max_heap_size; - size_t current_heap_usage; - }; -#endif // ENABLE_HEAP - int saved_argc; char *const *saved_argv;