commit | 3cfb0c51b2bb5ede54eca85ace5b1ba12be314b0 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Thu Jan 17 00:02:10 2008 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Thu Feb 14 00:43:02 2008 +0100 |
tree | 92f2add89c3ca9258c9dd78e496c2a309dbf45a5 | |
parent | c77ce474b1c57b13e9d36d9830f147966c143694 [diff] [blame] |
Remove duplicate defines for ARRAY_SIZE Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
diff --git a/include/common.h b/include/common.h index c4ee3e2..75fb676 100644 --- a/include/common.h +++ b/include/common.h
@@ -665,4 +665,6 @@ #error Read section CONFIG_SKIP_LOWLEVEL_INIT in README. #endif +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + #endif /* __COMMON_H_ */