summaryrefslogtreecommitdiff
path: root/include/compile_time_macros.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-06-20 10:40:26 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-06-28 07:06:46 -0700
commitdcfbe0be69d3445edfd45fb036bfae2581b6fdd5 (patch)
treede448bc3d41945e0bc0cf2f098e10ca14fc49419 /include/compile_time_macros.h
parent6f38ed23f3d467937f15cf0474b8f323564bcc0d (diff)
downloadchrome-ec-dcfbe0be69d3445edfd45fb036bfae2581b6fdd5.tar.gz
ec: Make it possible to build tests using clang
We might want to try out address sanitizer/fuzzer on some host tests: make it possible to build host tests using clang. Board builds are broken, and there is no intention to fix them, at least for now. BRANCH=none BUG=chromium:854924 TEST=make buildall -j TEST=make CC=clang runtests -j Change-Id: Id49a1b8537bc403d53437a2245f4fab6ceae89ac Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1107522 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/compile_time_macros.h')
-rw-r--r--include/compile_time_macros.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/compile_time_macros.h b/include/compile_time_macros.h
index b1e627d617..1cc41f4d0e 100644
--- a/include/compile_time_macros.h
+++ b/include/compile_time_macros.h
@@ -29,6 +29,4 @@
#define member_size(type, member) sizeof(((type *)0)->member)
-#define __visible __attribute__((externally_visible))
-
#endif /* __CROS_EC_COMPILE_TIME_MACROS_H */