[BACK]Return to qsort.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / stdlib

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/stdlib/qsort.c between version 1.21 and 1.22

version 1.21, 2011/05/18 19:36:36 version 1.22, 2012/05/26 21:47:05
Line 105  qsort(void *a, size_t n, size_t es,
Line 105  qsort(void *a, size_t n, size_t es,
         size_t d, r;          size_t d, r;
         int swaptype, cmp_result;          int swaptype, cmp_result;
   
         _DIAGASSERT(a != NULL);          _DIAGASSERT(a != NULL || n == 0 || es == 0);
         _DIAGASSERT(cmp != NULL);          _DIAGASSERT(cmp != NULL);
   
 loop:   SWAPINIT(a, es);  loop:   SWAPINIT(a, es);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

CVSweb <webmaster@jp.NetBSD.org>