summaryrefslogtreecommitdiffstats
path: root/src/common/safe_io.c
diff options
context:
space:
mode:
authorJos Collin <jcollin@redhat.com>2017-05-19 06:17:32 +0200
committerJos Collin <jcollin@redhat.com>2017-05-22 19:46:26 +0200
commit9f8104860685c0ad766dd4b505bb54ce31069e4b (patch)
treed4ad1393984b383a9f9ccc68dec64b86894ce357 /src/common/safe_io.c
parentMerge pull request #15160 from bassam/pr-system-boost (diff)
downloadceph-9f8104860685c0ad766dd4b505bb54ce31069e4b.tar.xz
ceph-9f8104860685c0ad766dd4b505bb54ce31069e4b.zip
common: Remove redundant includes
Fixes: http://tracker.ceph.com/issues/19883 (Partially) Signed-off-by: Jos Collin <jcollin@redhat.com>
Diffstat (limited to 'src/common/safe_io.c')
-rw-r--r--src/common/safe_io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/safe_io.c b/src/common/safe_io.c
index e727542fb41..633e3b3e8f0 100644
--- a/src/common/safe_io.c
+++ b/src/common/safe_io.c
@@ -12,6 +12,9 @@
*
*/
+#include "common/safe_io.h"
+#include "include/compat.h"
+
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -19,9 +22,6 @@
#include <fcntl.h>
#include <limits.h>
-#include "common/safe_io.h"
-#include "include/compat.h"
-
ssize_t safe_read(int fd, void *buf, size_t count)
{
size_t cnt = 0;