mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 05:14:38 +08:00
2002-10-28 Joel Sherrill <joel@OARcorp.com>
* src/threadhandler.c: Prototype _init() and _main() if they are needed to avoid a warning.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-10-28 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* src/threadhandler.c: Prototype _init() and _main() if they are needed
|
||||
to avoid a warning.
|
||||
|
||||
2002-08-14 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* macros/rtems/score/coremsg.inl: Add <string.h> to remove warning.
|
||||
|
||||
@@ -62,6 +62,12 @@ void _Thread_Handler( void )
|
||||
static char doneConstructors;
|
||||
char doneCons;
|
||||
#endif
|
||||
#if defined(__USE_INIT_FINI__)
|
||||
extern void _init(void);
|
||||
#endif
|
||||
#if defined(__USE__MAIN__)
|
||||
extern void _main(void);
|
||||
#endif
|
||||
|
||||
executing = _Thread_Executing;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user