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/libcsupport/src/sync.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/libcsupport/src/sync.c')
-rw-r--r-- | cpukit/libcsupport/src/sync.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c index 6e46aaf114..14c20cebb3 100644 --- a/cpukit/libcsupport/src/sync.c +++ b/cpukit/libcsupport/src/sync.c @@ -70,9 +70,14 @@ static void sync_per_thread(Thread_Control *t) } } +/* + * libc_global_reent is not prototyped in any .h files. + * We have to extern it here. + */ +extern struct _reent libc_global_reent; + void sync(void) { - extern struct _reent libc_global_reent; /* * Walk the one used initially by RTEMS. |