X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yportenv_single.h;h=2eae429a9410ceafabef3f72f9f3f88495c55b07;hp=42892b87ffa9023cb09c10a7eba0564a89fcb3b9;hb=256ce201932cb4fb035c9996c7ae700b24818c17;hpb=4aab7ea4c9b8fb1bb9b375476a9faf70d29871b1 diff --git a/yportenv_single.h b/yportenv_single.h index 42892b8..2eae429 100644 --- 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. */ - #ifndef __YPORTENV_LINUX_H__ #define __YPORTENV_LINUX_H__ @@ -61,10 +60,9 @@ #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 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; }) - - #ifndef Y_DUMP_STACK #define Y_DUMP_STACK() do { } while (0) #endif @@ -91,5 +87,4 @@ } while (0) #endif - #endif