mirror of
https://github.com/ceph/ceph
synced 2025-03-20 01:07:42 +00:00
headers: Remove __le16/__le32/__le64
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>
This commit is contained in:
parent
8f67fec1ba
commit
0065f76d53
@ -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)
|
||||
|
@ -39,24 +39,6 @@
|
||||
/* 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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user