src/stdlib/SDL_qsort.c
changeset 10070 734b680cba95
parent 10069 ba33b870b45c
child 10085 a8e53dc3c5a1
equal deleted inserted replaced
10069:ba33b870b45c 10070:734b680cba95
    38 This code came from PDCLib, under the public domain. Specifically this:
    38 This code came from PDCLib, under the public domain. Specifically this:
    39 https://bitbucket.org/pdclib/pdclib/raw/a82b02d0c7d4ed633b97f2a7639d9a10b1c92ec8/functions/stdlib/qsort.c
    39 https://bitbucket.org/pdclib/pdclib/raw/a82b02d0c7d4ed633b97f2a7639d9a10b1c92ec8/functions/stdlib/qsort.c
    40 The _PDCLIB_memswp macro was from
    40 The _PDCLIB_memswp macro was from
    41 https://bitbucket.org/pdclib/pdclib/src/a82b02d0c7d4ed633b97f2a7639d9a10b1c92ec8/platform/posix/internals/_PDCLIB_config.h?at=default&fileviewer=file-view-default#_PDCLIB_config.h-28
    41 https://bitbucket.org/pdclib/pdclib/src/a82b02d0c7d4ed633b97f2a7639d9a10b1c92ec8/platform/posix/internals/_PDCLIB_config.h?at=default&fileviewer=file-view-default#_PDCLIB_config.h-28
    42 
    42 
    43 Everything below this comment until the HAVE_QSORT #endif was from PDCLib.
    43 Everything below this comment until the HAVE_QSORT #endif was from PDCLib (minor changes noted inline).
    44 --ryan.
    44 --ryan.
    45 */
    45 */
    46 
    46 
    47 /* $Id$ */
    47 /* $Id$ */
    48 
    48 
    50 
    50 
    51    This file is part of the Public Domain C Library (PDCLib).
    51    This file is part of the Public Domain C Library (PDCLib).
    52    Permission is granted to use, modify, and / or redistribute at will.
    52    Permission is granted to use, modify, and / or redistribute at will.
    53 */
    53 */
    54 
    54 
    55 #include <stdlib.h>
    55 /* I commented this out. --ryan. #include <stdlib.h> */
    56 
    56 
    57 #ifndef REGTEST
    57 #ifndef REGTEST
    58 
    58 
    59 /* This implementation is taken from Paul Edward's PDPCLIB.
    59 /* This implementation is taken from Paul Edward's PDPCLIB.
    60 
    60