From: Kefu Chai Date: Sun, 14 Jan 2018 10:02:26 +0000 (+0800) Subject: librbd,librados: do not include stdbool.h in C++ headers X-Git-Tag: v13.0.2~515^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19945%2Fhead;p=ceph.git 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 --- diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index e6fcfe1f56ff..74ee0fcd325a 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 eb73387ca521..7d888221ceea 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 aada24af4498..94ff1c2312c8 100644 --- a/src/test/librbd/fsx.cc +++ b/src/test/librbd/fsx.cc @@ -34,7 +34,6 @@ #include #endif #include -#include #include #include #include