From 8f506c709adb7d3bed4ebefefe9487c156192a64 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 22 Jan 2016 15:09:21 +0000 Subject: fpu: Replace int8 typedef with int8_t Replace the int8 softfloat-specific typedef with int8_t. This change was made with find include hw fpu target-* -name '*.[ch]' | xargs sed -i -e 's/\bint8\b/int8_t/g' together with manual removal of the typedef definition, and manual undoing of various mis-hits. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Aurelien Jarno Acked-by: Leon Alrae Acked-by: James Hogan Message-id: 1452603315-27030-6-git-send-email-peter.maydell@linaro.org --- include/fpu/softfloat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/fpu') diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h index bee849e0a7..a6842ad21d 100644 --- a/include/fpu/softfloat.h +++ b/include/fpu/softfloat.h @@ -100,7 +100,6 @@ this code that are retained. *----------------------------------------------------------------------------*/ typedef uint8_t flag; typedef uint8_t uint8; -typedef int8_t int8; #define LIT64( a ) a##LL @@ -278,7 +277,7 @@ static inline flag get_default_nan_mode(float_status *status) | Routine to raise any or all of the software IEC/IEEE floating-point | exception flags. *----------------------------------------------------------------------------*/ -void float_raise(int8 flags, float_status *status); +void float_raise(int8_t flags, float_status *status); /*---------------------------------------------------------------------------- | If `a' is denormal and we are in flush-to-zero mode then set the -- cgit v1.2.3