projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs direct: Clean ups fixing stuff caught by Timthy's tests
[yaffs2.git]
/
direct
/
ydirectenv.h
diff --git
a/direct/ydirectenv.h
b/direct/ydirectenv.h
index 824ce20ed2b232a9dd99832b0704a93e766453de..ee6e8f5a2912d3d56713a1eed42828ee5390c7fa 100644
(file)
--- a/
direct/ydirectenv.h
+++ b/
direct/ydirectenv.h
@@
-43,6
+43,11
@@
#define yaffs_sprintf sprintf
#define yaffs_toupper(a) toupper(a)
#define yaffs_sprintf sprintf
#define yaffs_toupper(a) toupper(a)
+void yaffs_qsort(void *aa, size_t n, size_t es,
+ int (*cmp)(const void *, const void *));
+
+#define yaffs_sort(base, n, sz, cmp_fn) yaffs_qsort(base, n, sz, cmp_fn)
+
#define YAFFS_PATH_DIVIDERS "/"
#ifdef NO_Y_INLINE
#define YAFFS_PATH_DIVIDERS "/"
#ifdef NO_Y_INLINE
@@
-87,6
+92,9
@@
#define yaffs_sum_cmp(x,y) ((x) == (y))
#define yaffs_strcmp(a,b) strcmp(a,b)
#define yaffs_sum_cmp(x,y) ((x) == (y))
#define yaffs_strcmp(a,b) strcmp(a,b)
+#include "yaffs_list.h"
+
+
#include "yaffsfs.h"
#endif
#include "yaffsfs.h"
#endif