diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-09-17 20:33:48 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 18:30:29 -0400 |
commit | 87f13aa00d0279fcc96530404c3a104eb4cb1672 (patch) | |
tree | 79cf6940ba0bfa3ef1ed6ff2930d4c3799e8aa18 /include/compiler.h | |
parent | 93d3232d9607669f33a34d3a552b24e1d727413b (diff) | |
download | u-boot-imx-87f13aa00d0279fcc96530404c3a104eb4cb1672.zip u-boot-imx-87f13aa00d0279fcc96530404c3a104eb4cb1672.tar.gz u-boot-imx-87f13aa00d0279fcc96530404c3a104eb4cb1672.tar.bz2 |
compiler.h: remove duplicated uninitialized_var
Since clang has a different definition for uninitialized_var
it will complain that it is redefined in include/compiler.h.
Since these are already defined in linux/compiler.h just remove
this instance.
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/compiler.h')
-rw-r--r-- | include/compiler.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/compiler.h b/include/compiler.h index 9afc11b..1451916 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -129,9 +129,6 @@ typedef unsigned long int uintptr_t; #endif /* USE_HOSTCC */ -/* compiler options */ -#define uninitialized_var(x) x = x - #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) |