sysupgrade: Fix compiler warnings

Change-Id: I69e4d5cf06212feb9e67d7071779846581096bec
Signed-off-by: Naresh Kumar Mehta <naresh@codeaurora.org>
This commit is contained in:
Naresh Kumar Mehta 2019-04-05 17:41:16 +05:30
parent be5e618364
commit 488a613637
2 changed files with 2 additions and 1 deletions

View file

@ -1430,7 +1430,7 @@ int is_image_authenticated(void)
return 1; return 1;
} }
int sec_image_auth() int sec_image_auth(void)
{ {
int fd, i, len; int fd, i, len;
char *buf = NULL; char *buf = NULL;

View file

@ -127,3 +127,4 @@ int is_component_authenticated(char *, char *, char *);
int is_image_authenticated(void); int is_image_authenticated(void);
int do_board_upgrade_check(char *); int do_board_upgrade_check(char *);
int check_nand_preamble(uint8_t *); int check_nand_preamble(uint8_t *);
int find_mtd_part_size(void);