From 488a61363745d30a0a8d2684807df7b162d1561f Mon Sep 17 00:00:00 2001 From: Naresh Kumar Mehta Date: Fri, 5 Apr 2019 17:41:16 +0530 Subject: [PATCH] sysupgrade: Fix compiler warnings Change-Id: I69e4d5cf06212feb9e67d7071779846581096bec Signed-off-by: Naresh Kumar Mehta --- tools/sysupgrade.c | 2 +- tools/sysupgrade.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/sysupgrade.c b/tools/sysupgrade.c index 2c1d0a9b70..1533b2813c 100644 --- a/tools/sysupgrade.c +++ b/tools/sysupgrade.c @@ -1430,7 +1430,7 @@ int is_image_authenticated(void) return 1; } -int sec_image_auth() +int sec_image_auth(void) { int fd, i, len; char *buf = NULL; diff --git a/tools/sysupgrade.h b/tools/sysupgrade.h index 2be276084b..17c6e62ccb 100644 --- a/tools/sysupgrade.h +++ b/tools/sysupgrade.h @@ -127,3 +127,4 @@ int is_component_authenticated(char *, char *, char *); int is_image_authenticated(void); int do_board_upgrade_check(char *); int check_nand_preamble(uint8_t *); +int find_mtd_part_size(void);