summaryrefslogtreecommitdiff
path: root/yportenv_multi.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-11-03 15:02:10 +1300
committerCharles Manning <cdhmanning@gmail.com>2010-11-03 15:02:43 +1300
commit3ecea787c3d99a5e13bf3b826dd3ad772fbad810 (patch)
tree2d92b2ea8d4086fd606d8cca99514c7fe63b6ab7 /yportenv_multi.h
parenta8016f937633b0d356be4d2195d93f1742a3de0d (diff)
yaffs: Redo Lindent
Only applies to Linux files. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yportenv_multi.h')
-rw-r--r--yportenv_multi.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/yportenv_multi.h b/yportenv_multi.h
index 3295ca0..ec43fd5 100644
--- a/yportenv_multi.h
+++ b/yportenv_multi.h
@@ -13,7 +13,6 @@
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*/
-
#ifndef __YPORTENV_H__
#define __YPORTENV_H__
@@ -67,7 +66,6 @@
#define yaffs_toupper(a) toupper(a)
#define yaffs_sort(base, n, sz, cmp_fn) sort(base, n, sz, cmp_fn, NULL)
-
#define Y_INLINE __inline__
#define YAFFS_LOSTNFOUND_NAME "lost+found"
@@ -120,7 +118,6 @@
#include "stdio.h"
#include "string.h"
-
#define YMALLOC(x) malloc(x)
#define YFREE(x) free(x)
#define YMALLOC_ALT(x) malloc(x)
@@ -177,7 +174,7 @@
#define O_RDWR 02
#endif
-#ifndef O_CREAT
+#ifndef O_CREAT
#define O_CREAT 0100
#endif
@@ -229,7 +226,7 @@
#define EACCES 13
#endif
-#ifndef EXDEV
+#ifndef EXDEV
#define EXDEV 18
#endif
@@ -273,7 +270,6 @@
#define EISDIR 21
#endif
-
// Mode flags
#ifndef S_IFMT
@@ -292,7 +288,7 @@
#define S_IFREG 0100000
#endif
-#ifndef S_IREAD
+#ifndef S_IREAD
#define S_IREAD 0000400
#endif
@@ -340,5 +336,4 @@
} while (0)
#endif
-
#endif