]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
headers: Remove __le16/__le32/__le64 30409/head
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 16 Sep 2019 15:23:40 +0000 (17:23 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 18 Sep 2019 11:35:21 +0000 (13:35 +0200)
These types should no longer be used; use ceph_le16/32/64 instead.

Also removes the cmake check whether those types are provided by
kernel headers (likewise for the __be types, which already were
not used anywhere).

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
cmake/modules/CephChecks.cmake
src/include/config-h.in.cmake
src/include/int_types.h

index 2bc850456ad58839ca8a08cc7b726ca0afb5637a..576971ed2a8770dffbbb497f186341550a7650be 100644 (file)
@@ -55,12 +55,6 @@ CHECK_INCLUDE_FILES("valgrind/helgrind.h" HAVE_VALGRIND_HELGRIND_H)
 
 include(CheckTypeSize)
 set(CMAKE_EXTRA_INCLUDE_FILES "linux/types.h")
-CHECK_TYPE_SIZE(__be16 __BE16) 
-CHECK_TYPE_SIZE(__be32 __BE32) 
-CHECK_TYPE_SIZE(__be64 __BE64) 
-CHECK_TYPE_SIZE(__le16 __LE16) 
-CHECK_TYPE_SIZE(__le32 __LE32) 
-CHECK_TYPE_SIZE(__le64 __LE64) 
 CHECK_TYPE_SIZE(__u8 __U8) 
 CHECK_TYPE_SIZE(__u16 __U16) 
 CHECK_TYPE_SIZE(__u32 __U32) 
index 4cdb21e1e81994d3bdbba4a72d2351bbc622fe96..80dc7a532d42c756cebf63cd497fd00303bb5425 100644 (file)
 /* Define to 1 if you have the <execinfo.h> header file. */
 #cmakedefine HAVE_EXECINFO_H 1
 
-/* Define to 1 if the system has the type `__be16'. */
-#cmakedefine HAVE___BE16 1
-
-/* Define to 1 if the system has the type `__be32'. */
-#cmakedefine HAVE___BE32 1
-
-/* Define to 1 if the system has the type `__be64'. */
-#cmakedefine HAVE___BE64 1
-
-/* Define to 1 if the system has the type `__le16'. */
-#cmakedefine HAVE___LE16 1
-
-/* Define to 1 if the system has the type `__le32'. */
-#cmakedefine HAVE___LE32 1
-
-/* Define to 1 if the system has the type `__le64'. */
-#cmakedefine HAVE___LE64 1
-
 /* Define to 1 if the system has the type `__s16'. */
 #cmakedefine HAVE___S16 1
 
index 56b2723f3a5c0077af552b14f60613db43033f41..3435cbcbe2aeb3d1adeccb3a64dc3e974835c80d 100644 (file)
@@ -41,15 +41,6 @@ typedef int64_t __s64;
 #endif
 #endif /* LINUX_TYPES_H */
 
-#define __bitwise__
-
-typedef __u16 __bitwise__ __le16;
-typedef __u16 __bitwise__ __be16;
-typedef __u32 __bitwise__ __le32;
-typedef __u32 __bitwise__ __be32;
-typedef __u64 __bitwise__ __le64;
-typedef __u64 __bitwise__ __be64;
-
 #ifndef BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
 #endif