X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cfg%2Fcompiler.h;h=3e2b1ab313b5cc275afd5ed5dd4e33898447bee7;hb=7e9607da051e41d0cae09af10068b2a45e887b39;hp=9f5462b3aa8ccacfc5c9f6ecb9fd5686c3bcd0fb;hpb=bcf38f772b397e7a8ba781a69aacb9380e54b32a;p=bertos.git diff --git a/cfg/compiler.h b/cfg/compiler.h index 9f5462b3..3e2b1ab3 100755 --- a/cfg/compiler.h +++ b/cfg/compiler.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.23 2006/09/13 18:28:38 bernie + *#* Reformat. + *#* *#* Revision 1.22 2006/07/19 12:56:25 bernie *#* Convert to new Doxygen style. *#* @@ -537,15 +540,15 @@ typedef unsigned char page_t; /**< Type for banked memory pages. */ UNUSED_VAR(extern char, STATIC_ASSERTION_FAILED__[(condition) ? 1 : -1]) #ifndef ASSERT_TYPE_EQUAL -/** Ensure two variables have the same type. */ -#define ASSERT_TYPE_EQUAL(var1, var2) \ - do { (void)(&(var1) == &(var2)); } while(0) + /** Ensure two variables have the same type. */ + #define ASSERT_TYPE_EQUAL(var1, var2) \ + do { (void)(&(var1) == &(var2)); } while(0) #endif #ifndef ASSERT_TYPE_IS -/** Ensure variable is of specified type. */ -#define ASSERT_TYPE_IS(var, type) \ - do { (void)(&(var) == (type *)0); } while(0) + /** Ensure variable is of specified type. */ + #define ASSERT_TYPE_IS(var, type) \ + do { (void)(&(var) == (type *)0); } while(0) #endif #endif /* DEVLIB_COMPILER_H */