mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
adjust includes according to iwyu 3.5
This commit is contained in:
@@ -21,9 +21,6 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <openssl/sha.h>
|
||||
#ifdef __linux
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
@@ -336,7 +333,7 @@ static int filecache_download_file(const char *filecache_path,
|
||||
file = file_alloc();
|
||||
retval = mfconn_api_file_get_links(conn, file,
|
||||
(char *)quickkey,
|
||||
LINK_TYPE_DIRECT_DOWNLOAD);
|
||||
MFCONN_FILE_LINK_TYPE_DIRECT_DOWNLOAD);
|
||||
|
||||
if (retval != 0) {
|
||||
fprintf(stderr, "mfconn_api_file_get_links failed\n");
|
||||
|
||||
@@ -31,12 +31,9 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef __linux
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#include <pwd.h>
|
||||
#include <wordexp.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "../mfapi/mfconn.h"
|
||||
|
||||
@@ -31,15 +31,16 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef __linux
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
#include <fuse/fuse_common.h>
|
||||
#include <stdint.h>
|
||||
#include <libgen.h>
|
||||
#include <stdbool.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "../mfapi/mfconn.h"
|
||||
#include "../mfapi/apicalls.h"
|
||||
#include "../utils/stringv.h"
|
||||
#include "hashtbl.h"
|
||||
#include "operations.h"
|
||||
|
||||
|
||||
@@ -26,6 +26,12 @@
|
||||
#include "hashtbl.h"
|
||||
#include "../utils/stringv.h"
|
||||
|
||||
struct fuse_conn_info;
|
||||
struct fuse_file_info;
|
||||
struct stat;
|
||||
struct statvfs;
|
||||
struct timespec;
|
||||
|
||||
struct mediafirefs_context_private {
|
||||
mfconn *conn;
|
||||
folder_tree *tree;
|
||||
|
||||
Reference in New Issue
Block a user