mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
fs/partition: Make parse_ptable_partition to partition.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
eb720388ca
commit
970cbff638
@@ -43,16 +43,6 @@ static int parse_partition(FAR struct partition_state_s *state,
|
|||||||
partition_handler_t handler,
|
partition_handler_t handler,
|
||||||
FAR void *arg);
|
FAR void *arg);
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Public Function Prototypes
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifdef CONFIG_PTABLE_PARTITION
|
|
||||||
int parse_ptable_partition(FAR struct partition_state_s *state,
|
|
||||||
partition_handler_t handler,
|
|
||||||
FAR void *arg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
@@ -52,6 +52,12 @@ int read_partition_block(FAR struct partition_state_s *state,
|
|||||||
FAR void *buffer, size_t startblock,
|
FAR void *buffer, size_t startblock,
|
||||||
size_t nblocks);
|
size_t nblocks);
|
||||||
|
|
||||||
|
#ifdef CONFIG_PTABLE_PARTITION
|
||||||
|
int parse_ptable_partition(FAR struct partition_state_s *state,
|
||||||
|
partition_handler_t handler,
|
||||||
|
FAR void *arg);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* CONFIG_DISABLE_MOUNTPOINT */
|
#endif /* CONFIG_DISABLE_MOUNTPOINT */
|
||||||
|
|
||||||
#endif /* __FS_PARTITION_PARTITION_H */
|
#endif /* __FS_PARTITION_PARTITION_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user