summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/qsort.c
AgeCommit message (Expand)Author
2017-05-19The BSD qsort() performs tail recursion elimination on the secondchristos
2012-05-26don't trigger diagassert for a null array with 0 elements or 0 elementsize.christos
2011-05-18Remove __P()dsl
2009-06-01qsort: remove the "switch to insertion sort" optimization because ityamt
2009-01-30sign-compare fixlukem
2009-01-11merge christos-time_tchristos
2008-11-16Our qsort() is inappropriate for kernel use because it makes recursivead
2008-11-16Make qsort() available in libkern.ad
2008-03-11Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy.rmind
2005-12-24Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.perry
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1998-11-15delintchristos
1998-02-03remove obsolete register declarationsperry
1997-07-13Add local.h for local prototypes.christos
1997-06-19avoid unportable arithmetic on void pointersmikel
1996-12-19use __inline and __asm, rather than inline and asm. By default (without -g)cgd
1995-12-28New-style RCS ids.thorpej
1994-06-16Add RCS ids.mycroft
1993-08-26Declare rcsid strings so they are stored in text segment.jtc
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd