Std.h: Remove unused types in Std.h files 3.41 ipc-3.41-next 3.41.00.07_eng 3.41.00.08
authorSam Nelson <sam.nelson@ti.com>
Wed, 9 Dec 2015 12:49:06 +0000 (07:49 -0500)
committerAngela Stegmaier <angelabaker@ti.com>
Wed, 9 Dec 2015 18:57:28 +0000 (12:57 -0600)
- These types are no longer used in IPC
- Moving forward the idea is to move to using standard C99 types
  instead of defining types here in this local file.
- This also fixes issues with Int8, where other components defining
  the same changed it to use int8_t which is defined a signed char

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
linux/include/ti/ipc/Std.h
qnx/include/ti/ipc/Std.h

index b1db7fb91503dd6ba9c2aa095676b7705aabbe7e..cdc8cb19367c6d81758e334020ba5bf919d44542 100644 (file)
@@ -53,15 +53,11 @@ extern "C" {
 
 typedef char              Char;
 typedef unsigned char     UChar;
-typedef short             Short;
 typedef unsigned short    UShort;
 typedef int               Int;
 typedef unsigned int      UInt;
 typedef long              Long;
 typedef unsigned long     ULong;
-typedef float             Float;
-typedef double            Double;
-typedef long double       LDouble;
 #define Void              void
 
 
@@ -73,7 +69,6 @@ typedef char            * String;    /* null terminated string */
 
 typedef int            *  IArg;
 typedef unsigned int   *  UArg;
-typedef char              Int8;
 typedef short             Int16;
 typedef int               Int32;
 
@@ -81,14 +76,9 @@ typedef unsigned char     UInt8;
 typedef unsigned short    UInt16;
 typedef unsigned int      UInt32;
 typedef unsigned int      SizeT;
-typedef unsigned char     Bits8;
 typedef unsigned short    Bits16;
 typedef UInt32            Bits32;
 
-/* taken from bridge */
-typedef void           *PVOID;          /* p    */
-typedef PVOID           HANDLE;         /* h    */
-
 #define TRUE              1
 #define FALSE             0
 #define FAIL   -1
index c848d2ada02925e66a02cffa28f427c08d997954..499284a68787b90c3b331a3705a94025d86cc30d 100644 (file)
@@ -50,15 +50,11 @@ extern "C" {
 
 typedef char              Char;
 typedef unsigned char     UChar;
-typedef short             Short;
 typedef unsigned short    UShort;
 typedef int               Int;
 typedef unsigned int      UInt;
 typedef long              Long;
 typedef unsigned long     ULong;
-typedef float             Float;
-typedef double            Double;
-typedef long double       LDouble;
 typedef void              Void;
 
 
@@ -70,7 +66,6 @@ typedef char            * String;    /* null terminated string */
 
 typedef int            *  IArg;
 typedef unsigned int   *  UArg;
-typedef char              Int8;
 typedef short             Int16;
 typedef int               Int32;
 
@@ -78,14 +73,9 @@ typedef unsigned char     UInt8;
 typedef unsigned short    UInt16;
 typedef unsigned int      UInt32;
 typedef unsigned int      SizeT;
-typedef unsigned char     Bits8;
 typedef unsigned short    Bits16;
 typedef UInt32            Bits32;
 
-/* taken from bridge */
-typedef void           *PVOID;          /* p    */
-typedef PVOID           HANDLE;         /* h    */
-
 #define TRUE              1
 #define FALSE             0
 #define FAIL   -1