Subversion Repositories HelenOS

Rev

Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4581
Line 38... Line 38...
38
#include <arch/types.h>
38
#include <arch/types.h>
39
 
39
 
40
/*
40
/*
41
 * sorting routines
41
 * sorting routines
42
 */
42
 */
43
extern void bubblesort(void * data, count_t n, size_t e_size, int (* cmp) (void * a, void * b));
43
extern void bubblesort(void * data, size_t n, size_t e_size, int (* cmp) (void * a, void * b));
44
extern void qsort(void * data, count_t n, size_t e_size, int (* cmp) (void * a, void * b));
44
extern void qsort(void * data, size_t n, size_t e_size, int (* cmp) (void * a, void * b));
45
 
45
 
46
/*
46
/*
47
 * default sorting comparators
47
 * default sorting comparators
48
 */
48
 */
49
extern int int_cmp(void * a, void * b);
49
extern int int_cmp(void * a, void * b);