Remove unused header in drivers and modules.

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
This commit is contained in:
Yufeng Ying
2024-12-22 01:19:26 +08:00
parent f241c1fda0
commit 33817b186f
112 changed files with 23 additions and 208 deletions

View File

@@ -30,17 +30,11 @@
#include "crypto_mbedtls.h"
#include "core/config/engine.h"
#include "core/config/project_settings.h"
#include "core/io/certs_compressed.gen.h"
#include "core/io/compression.h"
#include "core/io/file_access.h"
#include "core/os/os.h"
#ifdef TOOLS_ENABLED
#include "editor/editor_settings.h"
#endif
#include <mbedtls/debug.h>
#include <mbedtls/md.h>
#include <mbedtls/pem.h>

View File

@@ -32,7 +32,6 @@
#define CRYPTO_MBEDTLS_H
#include "core/crypto/crypto.h"
#include "core/io/resource.h"
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/entropy.h>

View File

@@ -30,9 +30,6 @@
#include "packet_peer_mbed_dtls.h"
#include "core/io/file_access.h"
#include "core/io/stream_peer_tls.h"
int PacketPeerMbedDTLS::bio_send(void *ctx, const unsigned char *buf, size_t len) {
if (buf == nullptr || len == 0) {
return 0;

View File

@@ -30,7 +30,6 @@
#include "stream_peer_mbedtls.h"
#include "core/io/file_access.h"
#include "core/io/stream_peer_tcp.h"
int StreamPeerMbedTLS::bio_send(void *ctx, const unsigned char *buf, size_t len) {

View File

@@ -33,7 +33,6 @@
#include "crypto_mbedtls.h"
#include "core/io/file_access.h"
#include "core/object/ref_counted.h"
#include <mbedtls/ctr_drbg.h>