From faf7ce5d4fabb66b7d52b47f267b8b6b42160d19 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 17 Jul 2015 21:57:07 +0300 Subject: [PATCH] Drop CONFIG_TI_COMPILER ifdefs This experimental support for Texas Instruments C compiler was never fully completed and it has not really been used in close to ten years, so drop this to simply the header files. Signed-off-by: Jouni Malinen --- src/utils/common.h | 26 -------------------------- src/utils/includes.h | 6 ------ 2 files changed, 32 deletions(-) diff --git a/src/utils/common.h b/src/utils/common.h index 6f2cfbabc..aab4fc8d0 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -53,16 +53,6 @@ static inline unsigned int bswap_32(unsigned int v) } #endif /* __APPLE__ */ -#ifdef CONFIG_TI_COMPILER -#define __BIG_ENDIAN 4321 -#define __LITTLE_ENDIAN 1234 -#ifdef __big_endian__ -#define __BYTE_ORDER __BIG_ENDIAN -#else -#define __BYTE_ORDER __LITTLE_ENDIAN -#endif -#endif /* CONFIG_TI_COMPILER */ - #ifdef CONFIG_NATIVE_WINDOWS #include @@ -110,22 +100,6 @@ typedef INT8 s8; #define WPA_TYPES_DEFINED #endif /* __vxworks */ -#ifdef CONFIG_TI_COMPILER -#ifdef _LLONG_AVAILABLE -typedef unsigned long long u64; -#else -/* - * TODO: 64-bit variable not available. Using long as a workaround to test the - * build, but this will likely not work for all operations. - */ -typedef unsigned long u64; -#endif -typedef unsigned int u32; -typedef unsigned short u16; -typedef unsigned char u8; -#define WPA_TYPES_DEFINED -#endif /* CONFIG_TI_COMPILER */ - #ifndef WPA_TYPES_DEFINED #ifdef CONFIG_USE_INTTYPES_H #include diff --git a/src/utils/includes.h b/src/utils/includes.h index 978157495..75513fc8c 100644 --- a/src/utils/includes.h +++ b/src/utils/includes.h @@ -22,22 +22,17 @@ #include #include #ifndef _WIN32_WCE -#ifndef CONFIG_TI_COMPILER #include #include -#endif /* CONFIG_TI_COMPILER */ #include #endif /* _WIN32_WCE */ #include -#ifndef CONFIG_TI_COMPILER #ifndef _MSC_VER #include #endif /* _MSC_VER */ -#endif /* CONFIG_TI_COMPILER */ #ifndef CONFIG_NATIVE_WINDOWS -#ifndef CONFIG_TI_COMPILER #include #include #include @@ -45,7 +40,6 @@ #include #include #endif /* __vxworks */ -#endif /* CONFIG_TI_COMPILER */ #endif /* CONFIG_NATIVE_WINDOWS */ #endif /* INCLUDES_H */