osdep.h: Drop no-longer-needed Coverity workarounds
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Mar 2020 19:33:18 +0000 (19:33 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Apr 2020 08:44:31 +0000 (09:44 +0100)
In commit a1a98357e3fd in 2018 we added some workarounds for Coverity
not being able to handle the _Float* types introduced by recent
glibc.  Newer versions of the Coverity scan tools have support for
these types, and will fail with errors about duplicate typedefs if we
have our workaround.  Remove our copy of the typedefs.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200319193323.2038-2-peter.maydell@linaro.org

include/qemu/osdep.h

index 9bd3dcfd13628de85eed293a39a6c1151f3abca1..20f5c5f197d0c7b9d75dcc067b9b56e3d3dd5698 100644 (file)
 #else
 #include "exec/poison.h"
 #endif
-#ifdef __COVERITY__
-/* Coverity does not like the new _Float* types that are used by
- * recent glibc, and croaks on every single file that includes
- * stdlib.h.  These typedefs are enough to please it.
- *
- * Note that these fix parse errors so they cannot be placed in
- * scripts/coverity-model.c.
- */
-typedef float _Float32;
-typedef double _Float32x;
-typedef double _Float64;
-typedef __float80 _Float64x;
-typedef __float128 _Float128;
-#endif
 
 #include "qemu/compiler.h"