summaryrefslogtreecommitdiff
path: root/arch/arm/nwfpe/softfloat.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2009-04-17 15:21:56 +0400
committerBen Dooks <ben-linux@fluff.org>2009-05-15 15:49:14 +0400
commit3ea385f061d08a9509a884e347ad1007bb6c3c66 (patch)
tree8c30affab66f96b018a6e33aa41d47e92ca1fa84 /arch/arm/nwfpe/softfloat.h
parentceec1c33c36e4783cba41416f327f4bbc05218c3 (diff)
downloadlinux-3ea385f061d08a9509a884e347ad1007bb6c3c66.tar.xz
[ARM] nwfpe: fix 'floatx80_is_nan' sparse warning
The symbol 'floatx80_is_nan' prototype was defined locally in fpa11_cprt.c when it was built outside the file in softfloat-specialisze. Move this into softfloat.h to fix the following sparse warning: softfloat-specialize:276:6: warning: symbol 'floatx80_is_nan' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/nwfpe/softfloat.h')
-rw-r--r--arch/arm/nwfpe/softfloat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/nwfpe/softfloat.h b/arch/arm/nwfpe/softfloat.h
index 260fe29d73f5..13e479c5da57 100644
--- a/arch/arm/nwfpe/softfloat.h
+++ b/arch/arm/nwfpe/softfloat.h
@@ -226,6 +226,8 @@ char floatx80_le_quiet( floatx80, floatx80 );
char floatx80_lt_quiet( floatx80, floatx80 );
char floatx80_is_signaling_nan( floatx80 );
+extern flag floatx80_is_nan(floatx80);
+
#endif
static inline flag extractFloat32Sign(float32 a)