diff options
Diffstat (limited to 'src/fuse')
-rw-r--r-- | src/fuse/helper.c | 3 | ||||
-rw-r--r-- | src/fuse/helper.h | 5 | ||||
-rw-r--r-- | src/fuse/main.c | 6 |
3 files changed, 3 insertions, 11 deletions
diff --git a/src/fuse/helper.c b/src/fuse/helper.c index 853b021..d81b08f 100644 --- a/src/fuse/helper.c +++ b/src/fuse/helper.c @@ -1,10 +1,7 @@ #include "helper.h" #include <stdio.h> -#include <string.h> -#include <errno.h> #include <stdlib.h> -#include <unistd.h> #include <inttypes.h> diff --git a/src/fuse/helper.h b/src/fuse/helper.h index c0c70c7..94218a9 100644 --- a/src/fuse/helper.h +++ b/src/fuse/helper.h @@ -1,14 +1,13 @@ #ifndef IMAGEHELPER_H #define IMAGEHELPER_H +#include "../types.h" + #include <netdb.h> #include <stdbool.h> #include <stdint.h> #include <string.h> -#include "../types.h" - - typedef struct log_info { uint64_t imageSize; uint64_t receivedBytes; diff --git a/src/fuse/main.c b/src/fuse/main.c index 8c3e0d3..2c349c8 100644 --- a/src/fuse/main.c +++ b/src/fuse/main.c @@ -7,18 +7,14 @@ * Changed by Stephan Schwaer * */ -#include "../shared/protocol.h" -#include "../shared/fdsignal.h" #include "connection.h" -#include "../serialize.h" #include "helper.h" +#include "../shared/protocol.h" #include "../shared/log.h" #define FUSE_USE_VERSION 30 #include <fuse.h> #include <stdio.h> -#include <string.h> -#include <errno.h> #include <stdlib.h> #include <unistd.h> /* for printing uint */ |