Hello. On 04/04/2015 01:25 AM, Maciej W. Rozycki wrote:
The `ieee754sp_isnan' and `ieee754dp_isnan' NaN classifiers are now no longer externally referred, remove their header prototypes and make them local to the two only respective places still making use of them.
Signed-off-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx> --- linux-mips-emu-isnan.diff Index: linux/arch/mips/math-emu/ieee754dp.c =================================================================== --- linux.orig/arch/mips/math-emu/ieee754dp.c 2015-04-02 20:27:55.587207000 +0100 +++ linux/arch/mips/math-emu/ieee754dp.c 2015-04-02 20:27:56.032207000 +0100 @@ -30,7 +30,7 @@ int ieee754dp_class(union ieee754dp x) return xc; } -int ieee754dp_isnan(union ieee754dp x) +static inline int ieee754dp_isnan(union ieee754dp x)
I think the current trend is to let gcc figure out whether to inline or not. [...] WBR, Sergei