annotate packages/fs/yaffs/current/src/yaffs_qsort.h @ 425:dea4d7d250ad ecos

Move sources into packages/fs/yaffs/current/src/
author Ross Younger <wry@ecoscentric.com>
date Fri, 14 May 2010 16:03:09 +0100
parents yaffs_qsort.h@b5309c9b6d7f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
130
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
1 /*
198
b7f785925166 Cleanup patch - Remove all trailing whitespace and fix a few typos.
wookey <wookey>
parents: 179
diff changeset
2 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
130
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
3 *
409
b5309c9b6d7f yaffs Some cleanups.
Charles Manning <cdhmanning@gmail.com>
parents: 271
diff changeset
4 * Copyright (C) 2002-2010 Aleph One Ltd.
149
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
5 * for Toby Churchill Ltd and Brightstar Engineering
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
6 *
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
7 * Created by Charles Manning <charles@aleph1.co.uk>
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
8 *
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
9 * This program is free software; you can redistribute it and/or modify
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
10 * it under the terms of the GNU Lesser General Public License version 2.1 as
130
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
11 * published by the Free Software Foundation.
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
12 *
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 149
diff changeset
13 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
130
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
14 */
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
15
168
b8f20fdc3a58 normalise licence headers and attributions
wookey <wookey>
parents: 149
diff changeset
16
149
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
17 #ifndef __YAFFS_QSORT_H__
f1dc2f5f8d11 Replace with own version of header file
charles <charles>
parents: 130
diff changeset
18 #define __YAFFS_QSORT_H__
130
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
19
271
c0dfae9e8073 Major whitespace/style changes to match Linux checkpatch.pl code style
wookey <wookey>
parents: 198
diff changeset
20 extern void yaffs_qsort(void *const base, size_t total_elems, size_t size,
c0dfae9e8073 Major whitespace/style changes to match Linux checkpatch.pl code style
wookey <wookey>
parents: 198
diff changeset
21 int (*cmp)(const void *, const void *));
130
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
22
2f8d5c914150 Add qsort
charles <charles>
parents:
diff changeset
23 #endif