projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs direct: Fix EROFS handling in some functions.
[yaffs2.git]
/
yportenv_single.h
diff --git
a/yportenv_single.h
b/yportenv_single.h
index 42892b87ffa9023cb09c10a7eba0564a89fcb3b9..2eae429a9410ceafabef3f72f9f3f88495c55b07 100644
(file)
--- a/
yportenv_single.h
+++ b/
yportenv_single.h
@@
-13,7
+13,6
@@
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*/
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*/
-
#ifndef __YPORTENV_LINUX_H__
#define __YPORTENV_LINUX_H__
#ifndef __YPORTENV_LINUX_H__
#define __YPORTENV_LINUX_H__
@@
-61,10
+60,9
@@
#define YAFFS_ROOT_MODE 0755
#define YAFFS_LOSTNFOUND_MODE 0700
#define YAFFS_ROOT_MODE 0755
#define YAFFS_LOSTNFOUND_MODE 0700
-
#define Y_CURRENT_TIME CURRENT_TIME.tv_sec
#define Y_TIME_CONVERT(x) (x).tv_sec
#define Y_CURRENT_TIME CURRENT_TIME.tv_sec
#define Y_TIME_CONVERT(x) (x).tv_sec
-
+
#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)
@@
-76,8
+74,6
@@
#define compile_time_assertion(assertion) \
({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; })
#define compile_time_assertion(assertion) \
({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; })
-
-
#ifndef Y_DUMP_STACK
#define Y_DUMP_STACK() do { } while (0)
#endif
#ifndef Y_DUMP_STACK
#define Y_DUMP_STACK() do { } while (0)
#endif
@@
-91,5
+87,4
@@
} while (0)
#endif
} while (0)
#endif
-
#endif
#endif