From d0fcf75a4dbfa626a4cbff86ac67ae632fa3527c Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 28 Sep 2017 13:42:22 +0900 Subject: [PATCH] part: add the get_partition_info_efi_with_partnum() in header file Add the get_partition_info_efi_with_partnum() in header file for fixing compiler warning. Change-Id: I1c11f240d84216e9671f2e522f2b5907369b97dc Signed-off-by: Jaehoon Chung --- include/part.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/part.h b/include/part.h index ed8828b..1cfc43b 100644 --- a/include/part.h +++ b/include/part.h @@ -144,6 +144,7 @@ int test_part_amiga (block_dev_desc_t *dev_desc); #ifdef CONFIG_EFI_PARTITION /* disk/part_efi.c */ int get_partition_info_efi (block_dev_desc_t * dev_desc, int part, disk_partition_t *info); +int get_partition_info_efi_with_partnum(block_dev_desc_t * dev_desc, int part, disk_partition_t * info, unsigned long total, unsigned long sdidx, int sdpart, disk_partition_t *sdinfo); int get_partition_info_by_name_efi(block_dev_desc_t * dev_desc, wchar_t* partition_name,disk_partition_t * info); int get_partition_num_by_name_efi(block_dev_desc_t * dev_desc, const char *partition_name); void print_part_efi (block_dev_desc_t *dev_desc); -- 2.7.4