removed unnecessary includes

This commit is contained in:
Fufu Fang 2021-09-03 21:23:52 +01:00
parent 7c6433f0cd
commit 6819ad09e4
5 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,6 @@
#include "fuse_local.h"
#include "cache.h"
#include "link.h"
#include "log.h"
/*

View File

@ -1,9 +1,7 @@
#include "link.h"
#include "util.h"
#include "cache.h"
#include "network.h"
#include "sonic.h"
#include "log.h"
#include <gumbo.h>

View File

@ -10,8 +10,8 @@ typedef struct Link Link;
typedef struct LinkTable LinkTable;
typedef struct TransferStruct TransferStruct;
#include "sonic.h"
#include "config.h"
#include "sonic.h"
#include "cache.h"
#include <curl/curl.h>
@ -42,14 +42,16 @@ struct TransferStruct {
char *data;
/** \brief The current size of the array */
size_t curr_size;
/** \brief The minium requested size */
size_t min_req_size;
/** \brief The type of transfer being done */
TransferType type;
/** \brief Whether transfer is in progress */
volatile int transferring;
/** \brief The link associated with the transfer */
Link *link;
/** \brief The minium requested size */
size_t min_req_size;
/** \brief Whether we have sent off the minimally requested data*/
int min_data_sent;
};
/**

View File

@ -1,6 +1,5 @@
#include "config.h"
#include "util.h"
#include "cache.h"
#include "link.h"
#include "fuse_local.h"
#include "network.h"
#include "log.h"

View File

@ -1,8 +1,6 @@
#include "network.h"
#include "util.h"
#include "cache.h"
#include "config.h"
#include "log.h"
#include <openssl/crypto.h>