From: Alex Bennée Date: Thu, 8 Aug 2019 16:18:21 +0000 (+0100) Subject: fpu: rename softfloat-specialize.h -> .inc.c X-Git-Tag: v4.2.0-rc0~229^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00f43279a3e5e7ea3a0fa853157863663e838e2e;p=thirdparty%2Fqemu.git fpu: rename softfloat-specialize.h -> .inc.c This is not a normal header and should only be included in the main softfloat.c file to bring in the various target specific specialisations. Indeed as it contains non-inlined C functions it is not even a legal header. Rename it to match our included C convention. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/fpu/softfloat-specialize.h b/fpu/softfloat-specialize.inc.c similarity index 100% rename from fpu/softfloat-specialize.h rename to fpu/softfloat-specialize.inc.c diff --git a/fpu/softfloat.c b/fpu/softfloat.c index 7ef0638d7e4..0638c9f4e03 100644 --- a/fpu/softfloat.c +++ b/fpu/softfloat.c @@ -634,7 +634,7 @@ static inline float64 float64_pack_raw(FloatParts p) | are propagated from function inputs to output. These details are target- | specific. *----------------------------------------------------------------------------*/ -#include "softfloat-specialize.h" +#include "softfloat-specialize.inc.c" /* Canonicalize EXP and FRAC, setting CLS. */ static FloatParts sf_canonicalize(FloatParts part, const FloatFmt *parm,