summaryrefslogtreecommitdiff
path: root/fpu/softfloat.h
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2011-03-07 01:34:06 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-21 21:46:14 +0100
commitbb98fe42c5c0516cae3a7378f3d7ba8e86297678 (patch)
treebe40794f2dff2d46423cdd385b9590e8197fd364 /fpu/softfloat.h
parent87b8cc3cf31d3e39c7b8f2d72332a2792a4e33b1 (diff)
downloadqemu-bb98fe42c5c0516cae3a7378f3d7ba8e86297678.zip
softfloat: Drop [s]bits{8, 16, 32, 64} types in favor of [u]int{8, 16, 32, 64}_t
They are defined with the same semantics as the POSIX types, so prefer those for consistency. Suggested by Peter Maydell. Cc: Peter Maydell <peter.maydell@linaro.org> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'fpu/softfloat.h')
-rw-r--r--fpu/softfloat.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 29492bce01..5d05fa5cf8 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -65,21 +65,6 @@ typedef signed int int32;
typedef uint64_t uint64;
typedef int64_t int64;
-/*----------------------------------------------------------------------------
-| Each of the following `typedef's defines a type that holds integers
-| of _exactly_ the number of bits specified. For instance, for most
-| implementation of C, `bits16' and `sbits16' should be `typedef'ed to
-| `unsigned short int' and `signed short int' (or `short int'), respectively.
-*----------------------------------------------------------------------------*/
-typedef uint8_t bits8;
-typedef int8_t sbits8;
-typedef uint16_t bits16;
-typedef int16_t sbits16;
-typedef uint32_t bits32;
-typedef int32_t sbits32;
-typedef uint64_t bits64;
-typedef int64_t sbits64;
-
#define LIT64( a ) a##LL
#define INLINE static inline