commit | d8bc55a6fb28876abcbf4a3fc3b6c3ce429c1bb3 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@ru.mvista.com> | Tue Sep 01 20:58:03 2009 +0400 |
committer | Wolfgang Denk <wd@denx.de> | Fri Sep 04 22:16:40 2009 +0200 |
tree | 65966fdde9c05aec00985a739e2f7411dad38d1f | |
parent | d72871e1387094972569e4b77c25e88020f7b68f [diff] [blame] |
Move uninitialized_var() macro from ubi_uboot.h to compiler.h This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
diff --git a/include/compiler.h b/include/compiler.h index 272fd3c..e602cce 100644 --- a/include/compiler.h +++ b/include/compiler.h
@@ -122,4 +122,7 @@ #endif +/* compiler options */ +#define uninitialized_var(x) x = x + #endif