Remove unnecessary includes

This commit is contained in:
Roland Reichwein 2026-04-30 21:07:45 +02:00
parent 4f411c66a9
commit 25f2998e3c
58 changed files with 24 additions and 83 deletions

View File

@ -51,7 +51,7 @@ SOFTWARE.
#include "type_traits.h"
#include "utility.h"
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include "private/minmax_push.h"

View File

@ -35,10 +35,7 @@ SOFTWARE.
#include "algorithm.h"
#include "error_handler.h"
#include "exception.h"
#include "functional.h"
#include "initializer_list.h"
#include "iterator.h"
#include "nth_type.h"
#include "parameter_type.h"
#include "static_assert.h"
#include "type_traits.h"

View File

@ -31,11 +31,8 @@ SOFTWARE.
#include "error_handler.h"
#include "exception.h"
#include "integral_limits.h"
#include "static_assert.h"
#include "type_traits.h"
#include <stdint.h>
/**************************************************************************************************************************************************************************
* See https://en.wikipedia.org/wiki/Base64
*

View File

@ -34,7 +34,6 @@ SOFTWARE.
///\ingroup string
#include "platform.h"
#include "static_assert.h"
#include "type_traits.h"
#include "utility.h"

View File

@ -39,7 +39,6 @@ SOFTWARE.
#include "error_handler.h"
#include "exception.h"
#include "flags.h"
#include "functional.h"
#include "integral_limits.h"
#include "iterator.h"
#include "memory.h"

View File

@ -51,7 +51,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
#if ETL_HAS_ATOMIC

View File

@ -33,10 +33,10 @@ SOFTWARE.
#include "platform.h"
#include "iterator.h"
#include "static_assert.h"
#include "type_traits.h"
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
namespace etl

View File

@ -36,10 +36,9 @@ SOFTWARE.
#include "array.h"
#include "cyclic_value.h"
#include "delegate.h"
#include "static_assert.h"
#include "type_traits.h"
#include <cstring>
#include <stddef.h>
#if ETL_USING_CPP11

View File

@ -40,13 +40,11 @@ SOFTWARE.
#include "integral_limits.h"
#include "iterator.h"
#include "memory.h"
#include "nullptr.h"
#include "optional.h"
#include "span.h"
#include "type_traits.h"
#include <limits.h>
#include <stdint.h>
#include <stddef.h>
namespace etl
{

View File

@ -33,8 +33,6 @@ SOFTWARE.
#include "algorithm.h"
#include "delegate.h"
#include "error_handler.h"
#include "function.h"
#include "nullptr.h"
#include "placement_new.h"
#include "static_assert.h"
#include "timer.h"

View File

@ -33,7 +33,6 @@ SOFTWARE.
#include "algorithm.h"
#include "delegate.h"
#include "error_handler.h"
#include "nullptr.h"
#include "placement_new.h"
#include "static_assert.h"
#include "timer.h"

View File

@ -33,7 +33,6 @@ SOFTWARE.
#include "algorithm.h"
#include "delegate.h"
#include "error_handler.h"
#include "nullptr.h"
#include "placement_new.h"
#include "static_assert.h"
#include "timer.h"

View File

@ -34,6 +34,4 @@ SOFTWARE.
#include "platform.h"
#include "iterator.h"
#include <stddef.h>
#endif

View File

@ -38,11 +38,8 @@ SOFTWARE.
#include "platform.h"
#include "algorithm.h"
#include "exception.h"
#include "static_assert.h"
#include "type_traits.h"
#include <stddef.h>
namespace etl
{
//***************************************************************************

View File

@ -32,9 +32,6 @@ SOFTWARE.
#define ETL_DEBOUNCE_INCLUDED
#include "platform.h"
#include "static_assert.h"
#include <stdint.h>
namespace etl
{

View File

@ -34,9 +34,10 @@ SOFTWARE.
#include "platform.h"
#include "array.h"
#include "delegate.h"
#include "nullptr.h"
#include "static_assert.h"
#include <stddef.h>
namespace etl
{
//***************************************************************************

View File

@ -44,7 +44,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
#include "private/minmax_push.h"

View File

@ -39,8 +39,6 @@ SOFTWARE.
#include "type_traits.h"
#include <stddef.h>
#include <stdint.h>
#include <string.h>
namespace etl
{

View File

@ -34,7 +34,6 @@ SOFTWARE.
#include "platform.h"
#include "frame_check_sequence.h"
#include "ihash.h"
#include "static_assert.h"
#include "type_traits.h"
#include <stdint.h>

View File

@ -36,7 +36,6 @@ SOFTWARE.
#include "type_traits.h"
#include <math.h>
#include <stdint.h>
namespace etl
{

View File

@ -36,8 +36,6 @@ SOFTWARE.
#include "exception.h"
#include "utility.h"
#include <stdint.h>
///\defgroup ihash Common data for all hash type classes.
///\ingroup hash

View File

@ -31,7 +31,8 @@ SOFTWARE.
#include "platform.h"
#include "integral_limits.h"
#include "static_assert.h"
#include <stddef.h>
namespace etl
{

View File

@ -35,7 +35,6 @@ SOFTWARE.
#include "type_traits.h"
#include <limits.h>
#include <stddef.h>
#include "private/minmax_push.h"

View File

@ -39,7 +39,7 @@ SOFTWARE.
#include "type_traits.h"
#include "utility.h"
#include <assert.h>
#include <stddef.h>
//*****************************************************************************
// Note:

View File

@ -35,8 +35,6 @@ SOFTWARE.
#include "functional.h"
#include "limits.h"
#include <stdint.h>
namespace etl
{
//***************************************************************************

View File

@ -37,9 +37,10 @@ SOFTWARE.
#include "iterator.h"
#include "memory.h"
#include "placement_new.h"
#include "static_assert.h"
#include "utility.h"
#include <stddef.h>
#define ETL_POOL_CPP03_CODE 0
namespace etl

View File

@ -36,7 +36,6 @@ SOFTWARE.
#include "frame_check_sequence.h"
#include "ihash.h"
#include "iterator.h"
#include "static_assert.h"
#include "type_traits.h"
#include <stdint.h>

View File

@ -36,8 +36,6 @@ SOFTWARE.
#include "functional.h"
#include "type_traits.h"
#include <stdint.h>
namespace etl
{
namespace private_limiter

View File

@ -43,7 +43,6 @@ SOFTWARE.
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdint.h>
#include "private/minmax_push.h"

View File

@ -42,7 +42,6 @@ SOFTWARE.
#include "private/addressof.h"
#include <assert.h>
#include <string.h>
#if defined(ETL_IN_UNIT_TEST) || ETL_USING_STL

View File

@ -36,8 +36,6 @@ SOFTWARE.
#include "static_assert.h"
#include "type_traits.h"
#include <stdint.h>
namespace etl
{
//***************************************************************************

View File

@ -36,8 +36,6 @@ SOFTWARE.
#include "nullptr.h"
#include "span.h"
#include <stdint.h>
namespace etl
{
//***************************************************************************

View File

@ -36,10 +36,9 @@ SOFTWARE.
#include "message.h"
#include "message_router.h"
#include "message_types.h"
#include "nullptr.h"
#include "vector.h"
#include <stdint.h>
#include <stddef.h>
namespace etl
{

View File

@ -39,8 +39,6 @@ SOFTWARE.
#include "type_list.h"
#include "utility.h"
#include <stdint.h>
namespace etl
{
#if ETL_USING_CPP17 && !defined(ETL_MESSAGE_PACKET_FORCE_CPP03_IMPLEMENTATION)

View File

@ -38,14 +38,12 @@ SOFTWARE.
#include "message.h"
#include "message_packet.h"
#include "message_types.h"
#include "nullptr.h"
#include "placement_new.h"
#include "shared_message.h"
#include "successor.h"
#include "type_list.h"
#include "type_traits.h"
#include <stdint.h>
#include <stddef.h>
namespace etl
{

View File

@ -38,7 +38,7 @@ SOFTWARE.
#include "memory.h"
#include "message_router.h"
#include <stdint.h>
#include <stddef.h>
namespace etl
{

View File

@ -35,7 +35,6 @@ SOFTWARE.
#include "error_handler.h"
#include "exception.h"
#include "memory.h"
#include "static_assert.h"
#include "type_traits.h"
namespace etl

View File

@ -32,7 +32,7 @@ SOFTWARE.
#include "platform.h"
#include "type_traits.h"
#include <stdint.h>
#include <stddef.h>
#if ETL_CPP11_SUPPORTED
namespace etl

View File

@ -35,8 +35,9 @@ SOFTWARE.
#include "functional.h"
#include "type_traits.h"
#include <stddef.h>
////#include <math.h>
#include <stdint.h>
namespace etl
{

View File

@ -44,7 +44,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
//*****************************************************************************
///\defgroup queue queue

View File

@ -32,7 +32,6 @@ SOFTWARE.
#define ETL_QUEUE_LOCKABLE_INCLUDED
#include "platform.h"
#include "function.h"
#include "integral_limits.h"
#include "memory.h"
#include "memory_model.h"
@ -42,7 +41,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
namespace etl
{

View File

@ -41,7 +41,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
#if ETL_HAS_ATOMIC

View File

@ -41,7 +41,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
namespace etl
{

View File

@ -42,7 +42,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
namespace etl
{

View File

@ -37,7 +37,6 @@ SOFTWARE.
#include "type_traits.h"
#include <stddef.h>
#include <stdint.h>
///\defgroup ratio ratio

View File

@ -37,7 +37,6 @@ SOFTWARE.
#include "type_traits.h"
// #include <math.h>
#include <stdint.h>
namespace etl
{

View File

@ -33,7 +33,6 @@ SOFTWARE.
#include "platform.h"
#include "absolute.h"
#include "static_assert.h"
#include "type_traits.h"
namespace etl

View File

@ -44,7 +44,6 @@ SOFTWARE.
#include "utility.h"
#include <stddef.h>
#include <stdint.h>
//*****************************************************************************
///\defgroup stack stack

View File

@ -39,7 +39,7 @@ SOFTWARE.
#include "optional.h"
#include <ctype.h>
#include <stdint.h>
#include <stddef.h>
#include "private/minmax_push.h"

View File

@ -36,7 +36,6 @@ SOFTWARE.
#include "type_traits.h"
// #include <math.h>
#include <stdint.h>
namespace etl
{

View File

@ -32,10 +32,10 @@ SOFTWARE.
#include "platform.h"
#include "integral_limits.h"
#include "null_type.h"
#include "static_assert.h"
#include "type_traits.h"
#include <limits.h>
#include <stddef.h>
namespace etl
{
//***************************************************************************

View File

@ -31,8 +31,10 @@ SOFTWARE.
#include "platform.h"
#include "null_type.h"
#include "static_assert.h"
#include "type_traits.h"
#include <stddef.h>
namespace etl
{
#if ETL_USING_CPP11 && !defined(ETL_TYPE_SELECT_FORCE_CPP03_IMPLEMENTATION)

View File

@ -43,7 +43,6 @@ SOFTWARE.
#include "intrusive_forward_list.h"
#include "iterator.h"
#include "nth_type.h"
#include "nullptr.h"
#include "parameter_type.h"
#include "placement_new.h"
#include "pool.h"

View File

@ -42,7 +42,6 @@ SOFTWARE.
#include "intrusive_forward_list.h"
#include "iterator.h"
#include "nth_type.h"
#include "nullptr.h"
#include "parameter_type.h"
#include "placement_new.h"
#include "pool.h"

View File

@ -42,7 +42,6 @@ SOFTWARE.
#include "intrusive_forward_list.h"
#include "iterator.h"
#include "nth_type.h"
#include "nullptr.h"
#include "parameter_type.h"
#include "placement_new.h"
#include "pool.h"

View File

@ -42,7 +42,6 @@ SOFTWARE.
#include "intrusive_forward_list.h"
#include "iterator.h"
#include "nth_type.h"
#include "nullptr.h"
#include "parameter_type.h"
#include "placement_new.h"
#include "pool.h"

View File

@ -35,7 +35,7 @@ SOFTWARE.
#include "static_assert.h"
#include "type_traits.h"
#include <stdint.h>
#include <stddef.h>
namespace etl
{

View File

@ -40,7 +40,6 @@ SOFTWARE.
#include "debug_count.h"
#include "error_handler.h"
#include "exception.h"
#include "functional.h"
#include "initializer_list.h"
#include "iterator.h"
#include "memory.h"