projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cdd5c
)
disk: dos: make some functions static
38/248838/2
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Thu, 26 Nov 2020 14:23:41 +0000
(15:23 +0100)
committer
Marek Szyprowski
<m.szyprowski@samsung.com>
Thu, 3 Dec 2020 16:53:18 +0000
(17:53 +0100)
Make function not used outside this file static.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I37039841c3a1530d5a81e5917f2f497b3bedcbbc
disk/part_dos.c
patch
|
blob
|
history
diff --git
a/disk/part_dos.c
b/disk/part_dos.c
index
3b79b9b
..
2c4ad0b
100644
(file)
--- a/
disk/part_dos.c
+++ b/
disk/part_dos.c
@@
-302,13
+302,13
@@
static int part_get_info_extended(struct blk_desc *dev_desc,
return -1;
}
-void part_print_dos(struct blk_desc *dev_desc)
+
static
void part_print_dos(struct blk_desc *dev_desc)
{
printf("Part\tStart Sector\tNum Sectors\tUUID\t\tType\n");
print_partition_extended(dev_desc, 0, 0, 1, 0);
}
-int part_get_info_dos(struct blk_desc *dev_desc, int part,
+
static
int part_get_info_dos(struct blk_desc *dev_desc, int part,
struct disk_partition *info)
{
return part_get_info_extended(dev_desc, 0, 0, 1, part, info, 0);