boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-10-16 01:53:23 +08:00
committed by Petro Karashchenko
parent ffe8dd39c6
commit 78f6a02bc8
34 changed files with 21 additions and 134 deletions
+21 -2
View File
@@ -300,10 +300,29 @@ enum
OK = 0,
};
#endif /* __ASSEMBLY__ */
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"
extern "C"
{
#else
#define EXTERN extern
#endif
/* This entry point must be supplied by the application */
#ifdef CONFIG_INIT_ENTRYPOINT
int CONFIG_INIT_ENTRYPOINT(int argc, FAR char *argv[]);
#endif
#undef EXTERN
#if defined(__cplusplus)
}
#endif
#endif /* __ASSEMBLY__ */
#endif /* __INCLUDE_SYS_TYPES_H */