Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115612774
D38216.id115905.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
681 B
Referenced Files
None
Subscribers
None
D38216.id115905.diff
View Options
diff --git a/include/stdlib.h b/include/stdlib.h
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -352,15 +352,9 @@
__sym_compat(qsort_r, __qsort_r_compat, FBSD_1.0);
#endif
#if defined(__generic) && !defined(__cplusplus)
-#if __GNUC__ == 12
-#define qsort_r(base, nel, width, arg4, arg5) \
- __generic(arg5, int (void *, const void *, const void *), \
- __qsort_r_compat, qsort_r)(base, nel, width, arg4, arg5)
-#else
#define qsort_r(base, nel, width, arg4, arg5) \
__generic(arg5, int (*)(void *, const void *, const void *), \
__qsort_r_compat, qsort_r)(base, nel, width, arg4, arg5)
-#endif
#elif defined(__cplusplus)
__END_DECLS
extern "C++" {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 12:12 AM (1 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17810945
Default Alt Text
D38216.id115905.diff (681 B)
Attached To
Mode
D38216: Revert "stdlib.h: Fix qsort_r compatibility with GCC 12."
Attached
Detach File
Event Timeline
Log In to Comment