aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/osdep.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-03-19 19:33:18 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-04-14 09:44:31 +0100
commitc160f17cd6f5fc3f8698b408a451149b34b1a647 (patch)
tree7071e7f33ce28b5da31786029a6aa1220f4618e3 /include/qemu/osdep.h
parent14e5526b51910efd62cd31cd95b49baca975c83f (diff)
downloadqemu-c160f17cd6f5fc3f8698b408a451149b34b1a647.zip
qemu-c160f17cd6f5fc3f8698b408a451149b34b1a647.tar.gz
qemu-c160f17cd6f5fc3f8698b408a451149b34b1a647.tar.bz2
osdep.h: Drop no-longer-needed Coverity workarounds
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
Diffstat (limited to 'include/qemu/osdep.h')
-rw-r--r--include/qemu/osdep.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 9bd3dcf..20f5c5f 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -33,20 +33,6 @@
#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"