mirror of
https://github.com/opnsense/src.git
synced 2026-03-31 23:15:10 -04:00
glibc-based interface. Unfortunately, the glibc maintainers, despite knowing the existence of the FreeBSD qsort_r(3) interface in 2004 and refused to add the same interface to glibc based on grounds of the lack of standardization and portability concerns, has decided it was a good idea to introduce their own qsort_r(3) interface in 2007 as a GNU extension with a slightly different and incompatible interface. With the adoption of their interface as POSIX standard, let's switch to the same prototype, there is no need to remain incompatible. C++ and C applications written for the historical FreeBSD interface get source level compatibility when building in C++ mode, or when building with a C compiler with C11 generics support, provided that the caller passes a fifth parameter of qsort_r() that exactly matches the historical FreeBSD comparator function pointer type and does not redefine the historical qsort_r(3) prototype in their source code. Symbol versioning is used to keep old binaries working. MFC: never Relnotes: yes Reviewed by: cem, imp, hps, pauamma Differential revision: https://reviews.freebsd.org/D17083 |
||
|---|---|---|
| .. | ||
| linux_80211.c | ||
| linux_80211.h | ||
| linux_80211_macops.c | ||
| linux_acpi.c | ||
| linux_compat.c | ||
| linux_current.c | ||
| linux_devres.c | ||
| linux_dmi.c | ||
| linux_domain.c | ||
| linux_firmware.c | ||
| linux_fpu.c | ||
| linux_hrtimer.c | ||
| linux_i2c.c | ||
| linux_i2cbb.c | ||
| linux_idr.c | ||
| linux_interrupt.c | ||
| linux_kmod.c | ||
| linux_kthread.c | ||
| linux_lock.c | ||
| linux_netdev.c | ||
| linux_page.c | ||
| linux_pci.c | ||
| linux_radix.c | ||
| linux_rcu.c | ||
| linux_schedule.c | ||
| linux_seq_file.c | ||
| linux_shmemfs.c | ||
| linux_shrinker.c | ||
| linux_simple_attr.c | ||
| linux_skbuff.c | ||
| linux_slab.c | ||
| linux_tasklet.c | ||
| linux_usb.c | ||
| linux_work.c | ||
| linux_xarray.c | ||
| lkpi_iic_if.m | ||