X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyportenv.h;fp=direct%2Fyportenv.h;h=b47a4d601e9317311be91729a64efe8986d0f134;hp=a797c8ad0a6fc8e75ad57fb0b71bd96b7a672607;hb=07353dd87a46afc753441028af8f5e8629b13bdc;hpb=1658295946bc589b4d351e75a59bd697630cd9e1 diff --git a/direct/yportenv.h b/direct/yportenv.h index a797c8a..b47a4d6 100644 --- a/direct/yportenv.h +++ b/direct/yportenv.h @@ -94,7 +94,7 @@ struct iattr { #ifdef CONFIG_YAFFSFS_PROVIDE_VALUES #ifndef O_RDONLY -#define O_RDONLY 00 +#define O_RDONLY 00 #endif #ifndef O_WRONLY @@ -105,8 +105,8 @@ struct iattr { #define O_RDWR 02 #endif -#ifndef O_CREAT -#define O_CREAT 0100 +#ifndef O_CREAT +#define O_CREAT 0100 #endif #ifndef O_EXCL @@ -157,7 +157,7 @@ struct iattr { #define EACCES 13 #endif -#ifndef EXDEV +#ifndef EXDEV #define EXDEV 18 #endif @@ -214,7 +214,7 @@ struct iattr { #endif -// Mode flags +/* Mode flags */ #ifndef S_IFMT #define S_IFMT 0170000 @@ -257,7 +257,7 @@ struct iattr { #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -#ifndef S_IREAD +#ifndef S_IREAD #define S_IREAD 0000400 #endif