2 * YAFFS: Yet another FFS. A NAND-flash specific file system.
3 * yaffs_qsort.h: Interface to BSD-licensed qsort routine.
5 * Copyright (C) 2002 Aleph One Ltd.
6 * for Toby Churchill Ltd and Brightstar Engineering
8 * Created by Charles Manning <charles@aleph1.co.uk>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License version 2.1 as
12 * published by the Free Software Foundation.
14 * $Id: yaffs_qsort.h,v 1.2 2006-11-07 23:20:09 charles Exp $
17 #ifndef __YAFFS_QSORT_H__
18 #define __YAFFS_QSORT_H__
20 extern void qsort (void *const base, size_t total_elems, size_t size,
21 int (*cmp)(const void *, const void *));