commit | 88f9d60b62829ea2a948b9c20fc8a3df94b512bd | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@ru.mvista.com> | Tue Sep 01 20:58:03 2009 +0400 |
committer | Tom Rix <Tom.Rix@windriver.com> | Sat Oct 03 09:04:12 2009 -0500 |
tree | 4ea72f79b9793f9813d5c6275bf226d5cc38723a | |
parent | d42914fbb8fc886f75da1bf74643fc3e7a00f3ce [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