mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
libc/hex2bin: Remove the unused declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
f142cf0e55
commit
83c4e7d9b6
@@ -157,42 +157,6 @@ int hex2mem(int fd, uint32_t baseaddr, uint32_t endpaddr,
|
|||||||
int fhex2mem(FAR FILE *instream, uint32_t baseaddr, uint32_t endpaddr,
|
int fhex2mem(FAR FILE *instream, uint32_t baseaddr, uint32_t endpaddr,
|
||||||
enum hex2bin_swap_e swap);
|
enum hex2bin_swap_e swap);
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: hex2bin_main
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Main entry point when hex2bin is built as an NSH built-in task.
|
|
||||||
*
|
|
||||||
* Input Parameters:
|
|
||||||
* Standard task inputs
|
|
||||||
*
|
|
||||||
* Returned Value:
|
|
||||||
* EXIT_SUCCESS on success; EXIT_FAILURE on failure
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifdef CONFIG_SYSTEM_HEX2BIN_BUILTIN
|
|
||||||
int hex2bin_main(int argc, char **argv);
|
|
||||||
#endif /* CONFIG_SYSTEM_HEX2BIN_BUILTIN */
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: hex2mem_main
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Main entry point when hex2mem is built as an NSH built-in task.
|
|
||||||
*
|
|
||||||
* Input Parameters:
|
|
||||||
* Standard task inputs
|
|
||||||
*
|
|
||||||
* Returned Value:
|
|
||||||
* EXIT_SUCCESS on success; EXIT_FAILURE on failure
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifdef CONFIG_SYSTEM_HEX2MEM_BUILTIN
|
|
||||||
int hex2mem_main(int argc, char **argv);
|
|
||||||
#endif /* CONFIG_SYSTEM_HEX2MEM_BUILTIN */
|
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user