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) { return ieee754_class_nan(ieee754dp_class(x)); } Index: linux/arch/mips/math-emu/ieee754dp.h =================================================================== --- linux.orig/arch/mips/math-emu/ieee754dp.h 2015-04-02 20:18:50.309509000 +0100 +++ linux/arch/mips/math-emu/ieee754dp.h 2015-04-02 20:27:56.035204000 +0100 @@ -77,6 +77,5 @@ static inline union ieee754dp builddp(in return r; } -extern int ieee754dp_isnan(union ieee754dp); extern union ieee754dp __cold ieee754dp_nanxcpt(union ieee754dp); extern union ieee754dp ieee754dp_format(int, int, u64); Index: linux/arch/mips/math-emu/ieee754sp.c =================================================================== --- linux.orig/arch/mips/math-emu/ieee754sp.c 2015-04-02 20:27:55.601223000 +0100 +++ linux/arch/mips/math-emu/ieee754sp.c 2015-04-02 20:27:56.037202000 +0100 @@ -30,7 +30,7 @@ int ieee754sp_class(union ieee754sp x) return xc; } -int ieee754sp_isnan(union ieee754sp x) +static inline int ieee754sp_isnan(union ieee754sp x) { return ieee754_class_nan(ieee754sp_class(x)); } Index: linux/arch/mips/math-emu/ieee754sp.h =================================================================== --- linux.orig/arch/mips/math-emu/ieee754sp.h 2015-04-02 20:18:50.314505000 +0100 +++ linux/arch/mips/math-emu/ieee754sp.h 2015-04-02 20:27:56.039206000 +0100 @@ -82,6 +82,5 @@ static inline union ieee754sp buildsp(in return r; } -extern int ieee754sp_isnan(union ieee754sp); extern union ieee754sp __cold ieee754sp_nanxcpt(union ieee754sp); extern union ieee754sp ieee754sp_format(int, int, unsigned);