mirror of
https://github.com/fangfufu/httpdirfs.git
synced 2024-09-27 20:51:55 +02:00
changed header inclusion order
This commit is contained in:
parent
3a0c431bba
commit
0892cd0a8a
@ -1,18 +1,17 @@
|
||||
#include "cache.h"
|
||||
|
||||
#include "link.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/**
|
||||
* \brief Data file block size
|
||||
|
@ -4,9 +4,7 @@
|
||||
#include "link.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/**
|
||||
* \file cache.h
|
||||
|
@ -1,10 +1,12 @@
|
||||
#include "fuse_local.h"
|
||||
|
||||
#include "cache.h"
|
||||
#include "link.h"
|
||||
|
||||
/* must be included before including <fuse.h> */
|
||||
#define FUSE_USE_VERSION 26
|
||||
#include <fuse.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -1,10 +1,6 @@
|
||||
#ifndef FUSE_LOCAL_H
|
||||
#define FUSE_LOCAL_H
|
||||
|
||||
/* must be included before including <fuse.h> */
|
||||
#define FUSE_USE_VERSION 26
|
||||
#include <fuse.h>
|
||||
|
||||
/* Initialise fuse */
|
||||
int fuse_local_init(int argc, char **argv);
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/** \brief the maximum length of the URL */
|
||||
#define URL_LEN_MAX 2048
|
||||
/** \brief the maximum length of a partial URL (a link) */
|
||||
|
@ -3,8 +3,8 @@
|
||||
#include "fuse_local.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define ARG_LEN_MAX 64
|
||||
|
Loading…
Reference in New Issue
Block a user