summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-15 11:18:21 +0800
committerChromeBot <chrome-bot@google.com>2013-05-15 12:12:23 -0700
commitd9cf88b35ad211d873f48b41fd985e22ff049b83 (patch)
treeb57229f791bf4ac8b3bcdd358d80cd788f3de17c /include/common.h
parent3addfe80f9c19045457f4b489c99c3067db4fc96 (diff)
downloadchrome-ec-d9cf88b35ad211d873f48b41fd985e22ff049b83.tar.gz
Add thermal engine test
BUG=chrome-os-partner:19236 TEST=Pass the test. BRANCH=None Change-Id: I1c96437e1fb3492faa5352383f852dc1d2718ace Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/51248 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 5ac49537e7..8ee20620db 100644
--- a/include/common.h
+++ b/include/common.h
@@ -77,9 +77,11 @@ enum ec_error_list {
#ifdef TEST_BUILD
#define test_mockable __attribute__((weak))
#define test_mockable_static __attribute__((weak))
+#define test_export_static
#else
#define test_mockable
#define test_mockable_static static
+#define test_export_static static
#endif
#endif /* __CROS_EC_COMMON_H */