Remove unused headers found by clang-tidy (#2480)

Found via misc-include-cleaner but this requires more work.
This commit is contained in:
Andrew Gaul 2024-06-25 20:02:46 +05:30 committed by GitHub
parent 1449905fe5
commit 585f137cf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 2 additions and 9 deletions

View File

@ -21,10 +21,10 @@
#ifndef S3FS_COMMON_H_
#define S3FS_COMMON_H_
#include <string>
#include <sys/types.h>
#include "../config.h"
#include "types.h"
//-------------------------------------------------------------------
// Global variables

View File

@ -22,7 +22,6 @@
#include <cstdlib>
#include <vector>
#include "s3fs_logger.h"
#include "fdcache_pseudofd.h"
//------------------------------------------------

View File

@ -21,7 +21,6 @@
#include <ctime>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "common.h"
#include "metaheader.h"

View File

@ -21,7 +21,6 @@
#include <cstdio>
#include <cstdlib>
#include "s3fs.h"
#include "s3fs_logger.h"
#include "mpu_util.h"
#include "curl.h"

View File

@ -32,10 +32,8 @@
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <string>
#include "s3fs_auth.h"
#include "s3fs_logger.h"

View File

@ -22,7 +22,6 @@
#include <unistd.h>
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dlfcn.h>
#include <fstream>
#include <sstream>

View File

@ -23,6 +23,7 @@
#include <memory>
#include <sstream>
#include <string>
#include <strings.h>
#include "common.h"
#include "s3fs_logger.h"

View File

@ -24,7 +24,6 @@
#include <mutex>
#include "common.h"
#include "s3fs.h"
#include "s3fs_logger.h"
#include "s3fs_xml.h"
#include "s3fs_util.h"

View File

@ -19,7 +19,6 @@
*/
#include <cerrno>
#include <cstdint>
#include <cstdio>
#include <cstdlib>