diff options
author | Sebastian | 2016-02-10 21:14:40 +0100 |
---|---|---|
committer | Sebastian | 2016-02-11 00:09:39 +0100 |
commit | 34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e (patch) | |
tree | a1f8bc19d7ae76ea00622edd65bb2676d624ba05 /src/fuse | |
parent | [SHARED] signal.h -> fdsignal.h (diff) | |
download | dnbd3-34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e.tar.gz dnbd3-34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e.tar.xz dnbd3-34ddebc84cb9ea933cfdb9cc3fa688b6a2fae78e.zip |
cleanup commits
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 */ |