summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-28 13:48:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-28 13:48:00 +0000
commit78f63231055ae3e671e0c35954bf0fe819768741 (patch)
tree16f2084e674849c7906f6e1625a916aaa3956ac8 /cpukit/score
parent2002-10-28 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-78f63231055ae3e671e0c35954bf0fe819768741.tar.bz2
2002-10-28 Joel Sherrill <joel@OARcorp.com>
* src/threadhandler.c: Prototype _init() and _main() if they are needed to avoid a warning.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/ChangeLog5
-rw-r--r--cpukit/score/src/threadhandler.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index b355eb76cf..dd254d7505 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -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.
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;