diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 19:18:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 19:18:52 +0000 |
commit | f73fc29d6692e721e50a7a595d07faab29048a03 (patch) | |
tree | dc0b4c271eb1a035241fc9477db935a7e7163704 /cpukit/score/src/threadhandler.c | |
parent | 2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-f73fc29d6692e721e50a7a595d07faab29048a03.tar.bz2 |
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
itron/src/task.c, libcsupport/src/newlibc_exit.c,
libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
rtems/src/tasks.c, score/include/rtems/score/stack.h,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
various nested-externs warnings.
Diffstat (limited to 'cpukit/score/src/threadhandler.c')
-rw-r--r-- | cpukit/score/src/threadhandler.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c index 187ec62f39..22c9f141cc 100644 --- a/cpukit/score/src/threadhandler.c +++ b/cpukit/score/src/threadhandler.c @@ -34,6 +34,13 @@ #include <stdlib.h> /* for atexit() */ #endif +#if defined(__USE_INIT_FINI__) + extern void _init(void); +#endif +#if defined(__USE__MAIN__) + extern void _main(void); +#endif + /*PAGE * * _Thread_Handler @@ -70,12 +77,6 @@ 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; |