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:
Joel Sherrill
2002-10-28 13:48:00 +00:00
parent 7a845e2fd7
commit 78f6323105
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -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.
+6
View File
@@ -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;