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>
This commit is contained in:
Vincent Palatin
2015-04-27 14:54:19 -07:00
committed by ChromeOS Commit Bot
parent 6cd67659db
commit cba37a13d2
3 changed files with 3 additions and 3 deletions

View File

@@ -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];

View File

@@ -13,7 +13,7 @@ extern struct adapter_id_vals ad_id_vals[];
extern struct adapter_limits
ad_limits[][NUM_AC_TURBO_STATES][NUM_AC_THRESHOLDS];
extern int ac_turbo;
extern int ap_is_throttled;
extern uint32_t ap_is_throttled;
extern void check_threshold(int current, struct adapter_limits *lim);
extern struct adapter_limits batt_limits[NUM_BATT_THRESHOLDS];
extern void watch_battery_closely(struct charge_state_context *ctx);

View File

@@ -9,7 +9,7 @@
/* Normally private symbols from the modules that we're testing. */
extern struct adapter_limits
ad_limits[][NUM_AC_TURBO_STATES][NUM_AC_THRESHOLDS];
extern int ap_is_throttled;
extern uint32_t ap_is_throttled;
extern struct adapter_limits batt_limits[NUM_BATT_THRESHOLDS];
#endif /* __THERMAL_FALCO_EXTERNS_H */