File: stdlib.h.diff

package info (click to toggle)
rdma-core 44.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,172 kB
  • sloc: ansic: 164,822; python: 12,221; sh: 2,762; perl: 1,465; makefile: 73
file content (34 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- /usr/include/stdlib.h	2022-07-06 23:23:23.000000000 +0000
+++ include/stdlib.h	2022-11-25 17:40:49.239478341 +0000
@@ -131,6 +131,20 @@
 
 /* Likewise for '_FloatN' and '_FloatNx'.  */
 
+/* For whatever reason our sparse does not understand these new compiler types */
+#undef __GLIBC_USE_IEC_60559_TYPES_EXT
+#define __GLIBC_USE_IEC_60559_TYPES_EXT 0
+#undef __HAVE_FLOAT32
+#define __HAVE_FLOAT32 0
+#undef __HAVE_FLOAT32X
+#define __HAVE_FLOAT32X 0
+#undef __HAVE_FLOAT64
+#define __HAVE_FLOAT64 0
+#undef __HAVE_FLOAT64X
+#define __HAVE_FLOAT64X 0
+#undef __HAVE_FLOAT128
+#define __HAVE_FLOAT128 0
+
 #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)
 extern _Float16 strtof16 (const char *__restrict __nptr,
 			  char **__restrict __endptr)
@@ -564,10 +578,6 @@
      __THROW __attribute_warn_unused_result__
      __attribute_alloc_size__ ((2, 3))
     __attr_dealloc_free;
-
-/* Add reallocarray as its own deallocator.  */
-extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
-     __THROW __attr_dealloc (reallocarray, 1);
 #endif
 
 #ifdef __USE_MISC