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;