From 0528979fa7ab7853faaf2ecf34b7721dd4c0b383 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:39:57 -0600 Subject: part: Drop disk_partition_t typedef We should not be using typedefs and these make it harder to use forward declarations (to reduce header file inclusions). Drop the typedef. Signed-off-by: Simon Glass --- include/sandboxfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sandboxfs.h') diff --git a/include/sandboxfs.h b/include/sandboxfs.h index 6e6e3c62ff9..49724d05c89 100644 --- a/include/sandboxfs.h +++ b/include/sandboxfs.h @@ -18,7 +18,7 @@ #ifndef __SANDBOX_FS__ #define __SANDBOX_FS__ -int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info); +int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info); int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, loff_t maxsize, loff_t *actread); -- cgit v1.2.3 From e6f6f9e64882ddf242437c73fdd9ff06a8eb7c21 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:39:58 -0600 Subject: common: Drop part.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- include/sandboxfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sandboxfs.h') diff --git a/include/sandboxfs.h b/include/sandboxfs.h index 49724d05c89..783dd5c88a7 100644 --- a/include/sandboxfs.h +++ b/include/sandboxfs.h @@ -18,6 +18,9 @@ #ifndef __SANDBOX_FS__ #define __SANDBOX_FS__ +struct blk_desc; +struct disk_partition; + int sandbox_fs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info); int sandbox_fs_read_at(const char *filename, loff_t pos, void *buffer, -- cgit v1.2.3