From 83c4e7d9b60b0774da71a6abd33e7a557eea8173 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 4 Dec 2022 19:40:32 +0800 Subject: [PATCH] libc/hex2bin: Remove the unused declaration Signed-off-by: Xiang Xiao --- include/hex2bin.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/include/hex2bin.h b/include/hex2bin.h index 699a68b604..f976f607ee 100644 --- a/include/hex2bin.h +++ b/include/hex2bin.h @@ -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, 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 #ifdef __cplusplus }