From cfd4712e0a87fc8e6e7d3c7cbd21d391bd407d9b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 14 Jan 2018 18:02:26 +0800 Subject: [PATCH] librbd,librados: do not include stdbool.h in C++ headers stdbool.h is offered to provide C++ keywords for C source file. Signed-off-by: Kefu Chai --- src/include/rados/librados.hpp | 1 - src/include/rbd/librbd.hpp | 1 - src/test/librbd/fsx.cc | 1 - 3 files changed, 3 deletions(-) diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index e6fcfe1f56ff1..74ee0fcd325a8 100644 --- a/src/include/rados/librados.hpp +++ b/src/include/rados/librados.hpp @@ -1,7 +1,6 @@ #ifndef __LIBRADOS_HPP #define __LIBRADOS_HPP -#include #include #include #include diff --git a/src/include/rbd/librbd.hpp b/src/include/rbd/librbd.hpp index eb73387ca521a..7d888221ceea8 100644 --- a/src/include/rbd/librbd.hpp +++ b/src/include/rbd/librbd.hpp @@ -15,7 +15,6 @@ #ifndef __LIBRBD_HPP #define __LIBRBD_HPP -#include #include #include #include diff --git a/src/test/librbd/fsx.cc b/src/test/librbd/fsx.cc index aada24af4498c..94ff1c2312c85 100644 --- a/src/test/librbd/fsx.cc +++ b/src/test/librbd/fsx.cc @@ -34,7 +34,6 @@ #include #endif #include -#include #include #include #include -- 2.39.5