From d8bc55a6fb28876abcbf4a3fc3b6c3ce429c1bb3 Mon Sep 17 00:00:00 2001 From: Anton Vorontsov Date: Tue, 1 Sep 2009 20:58:03 +0400 Subject: 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 --- include/compiler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/compiler.h') diff --git a/include/compiler.h b/include/compiler.h index 272fd3cf62..e602cce2e9 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -122,4 +122,7 @@ typedef unsigned int uintptr_t; #endif +/* compiler options */ +#define uninitialized_var(x) x = x + #endif -- cgit v1.2.3