mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
ffe8dd39c6
commit
78f6a02bc8
+21
-2
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user