projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: More clean up
[yaffs2.git]
/
yportenv.h
diff --git
a/yportenv.h
b/yportenv.h
index 83203c88ce6751008b70a26d995167ee795de71d..ebb4f92041dd1e582f89e1e96b8eadf7e40e677b 100644
(file)
--- a/
yportenv.h
+++ b/
yportenv.h
@@
-49,6
+49,7
@@
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/xattr.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/xattr.h>
+#include <linux/list.h>
#define YCHAR char
#define YUCHAR unsigned char
#define YCHAR char
#define YUCHAR unsigned char
@@
-87,7
+88,7
@@
#define Y_TIME_CONVERT(x) (x)
#endif
#define Y_TIME_CONVERT(x) (x)
#endif
-#define yaffs_
SumCompare
(x, y) ((x) == (y))
+#define yaffs_
sum_cmp
(x, y) ((x) == (y))
#define yaffs_strcmp(a, b) strcmp(a, b)
#define TENDSTR "\n"
#define yaffs_strcmp(a, b) strcmp(a, b)
#define TENDSTR "\n"
@@
-145,7
+146,7
@@
#define YAFFS_ROOT_MODE 0755
#define YAFFS_LOSTNFOUND_MODE 0700
#define YAFFS_ROOT_MODE 0755
#define YAFFS_LOSTNFOUND_MODE 0700
-#define yaffs_
SumCompare
(x, y) ((x) == (y))
+#define yaffs_
sum_cmp
(x, y) ((x) == (y))
#define yaffs_strcmp(a, b) strcmp(a, b)
#else
#define yaffs_strcmp(a, b) strcmp(a, b)
#else
@@
-210,6
+211,10
@@
#define EINVAL 22
#endif
#define EINVAL 22
#endif
+#ifndef ENFILE
+#define ENFILE 23
+#endif
+
#ifndef EBADF
#define EBADF 9
#endif
#ifndef EBADF
#define EBADF 9
#endif