part: add the get_partition_info_efi_with_partnum() in header file 66/153266/3
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 28 Sep 2017 04:42:22 +0000 (13:42 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Sep 2017 09:57:53 +0000 (18:57 +0900)
Add the get_partition_info_efi_with_partnum() in header file for fixing
compiler warning.

Change-Id: I1c11f240d84216e9671f2e522f2b5907369b97dc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/part.h

index ed8828b..1cfc43b 100644 (file)
@@ -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);