aboutsummaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-01-27 00:28:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-01-27 00:28:03 +0000
commite5dc40935f6e57c6d1034ae4dea021e677bbae18 (patch)
treef0f6874dee5f3b8f7ded1933b2eedcc89fda936f /include/stdlib.h
parente2d14a04c5fc49ad1aab280e3c2e7283bbacc948 (diff)
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 30d24aea1c10..754e8f5f5fd4 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -352,15 +352,9 @@ void __qsort_r_compat(void *, size_t, size_t, void *,
__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++" {