summaryrefslogtreecommitdiff
path: root/chip/host
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-04-27 14:54:19 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-15 00:53:31 +0000
commitcba37a13d2342e4c81b0be3c84010baf3d846162 (patch)
treeb0fd13fd7b9c038f6a6c4e7a3efc9090a8032014 /chip/host
parent6cd67659dbca2cad37a1afcc3234856fffd4d47f (diff)
downloadchrome-ec-cba37a13d2342e4c81b0be3c84010baf3d846162.tar.gz
Fix type mismatch on extern declarations
Update a few extern declarations to match the original variable type. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=none TEST=make buildall Compile with LTO enabled and no longer see errors for those declarations. Change-Id: I5b0f0f7f498ec414a861cb1ce50a486036c853bd Reviewed-on: https://chromium-review.googlesource.com/271279 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/host')
-rw-r--r--chip/host/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/host/system.c b/chip/host/system.c
index e9de6b1214..b6a2fe6ab7 100644
--- a/chip/host/system.c
+++ b/chip/host/system.c
@@ -17,7 +17,7 @@
#include "util.h"
#define SHARED_MEM_SIZE 512 /* bytes */
-char __shared_mem_buf[SHARED_MEM_SIZE];
+uint8_t __shared_mem_buf[SHARED_MEM_SIZE];
#define RAM_DATA_SIZE (sizeof(struct panic_data) + 512) /* bytes */
static char __ram_data[RAM_DATA_SIZE];