softfloat: Fix declaration of partsN_compare
The declaration used 'int', while the definition used 'FloatRelation'. This should have resulted in a compiler error, but mysteriously didn't. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20220401132240.79730-2-richard.henderson@linaro.org>
This commit is contained in:
parent
0cbc135917
commit
b880867f15
@ -874,9 +874,9 @@ static FloatParts128 *parts128_minmax(FloatParts128 *a, FloatParts128 *b,
|
||||
#define parts_minmax(A, B, S, F) \
|
||||
PARTS_GENERIC_64_128(minmax, A)(A, B, S, F)
|
||||
|
||||
static int parts64_compare(FloatParts64 *a, FloatParts64 *b,
|
||||
static FloatRelation parts64_compare(FloatParts64 *a, FloatParts64 *b,
|
||||
float_status *s, bool q);
|
||||
static int parts128_compare(FloatParts128 *a, FloatParts128 *b,
|
||||
static FloatRelation parts128_compare(FloatParts128 *a, FloatParts128 *b,
|
||||
float_status *s, bool q);
|
||||
|
||||
#define parts_compare(A, B, S, Q) \
|
||||
|
Loading…
Reference in New Issue
Block a user