]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd,librados: do not include stdbool.h in C++ headers 19945/head
authorKefu Chai <kchai@redhat.com>
Sun, 14 Jan 2018 10:02:26 +0000 (18:02 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 14 Jan 2018 10:03:38 +0000 (18:03 +0800)
stdbool.h is offered to provide C++ keywords for C source file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/rados/librados.hpp
src/include/rbd/librbd.hpp
src/test/librbd/fsx.cc

index e6fcfe1f56ff1ac0d82d192c0b48918970d97e83..74ee0fcd325a8db608aba558b489166d8c478852 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __LIBRADOS_HPP
 #define __LIBRADOS_HPP
 
-#include <stdbool.h>
 #include <string>
 #include <list>
 #include <map>
index eb73387ca521a5ecfb30d48f3cb367b7b1868664..7d888221ceea8f7dba6ddcba99bbc59df2a03c27 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef __LIBRBD_HPP
 #define __LIBRBD_HPP
 
-#include <stdbool.h>
 #include <string>
 #include <list>
 #include <map>
index aada24af4498cf36cbf3df5074145d8f807a5759..94ff1c2312c859460c71e47fc96f6de65a5b6fb2 100644 (file)
@@ -34,7 +34,6 @@
 #include <err.h>
 #endif
 #include <signal.h>
-#include <stdbool.h>
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>