From 78f63231055ae3e671e0c35954bf0fe819768741 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Oct 2002 13:48:00 +0000 Subject: 2002-10-28 Joel Sherrill * src/threadhandler.c: Prototype _init() and _main() if they are needed to avoid a warning. --- cpukit/score/src/threadhandler.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpukit/score/src/threadhandler.c') diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c index ec09654c5a..e042cb68cf 100644 --- a/cpukit/score/src/threadhandler.c +++ b/cpukit/score/src/threadhandler.c @@ -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; -- cgit v1.2.3