diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-12-21 05:10:09 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-12-21 05:10:09 +0000 |
commit | fbb5097c1bb1247b0372bbbfc1b0b209a559f946 (patch) | |
tree | df795766fb905660475ff476352f0d14d96f5485 | |
parent | 2007-12-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fbb5097c1bb1247b0372bbbfc1b0b209a559f946.tar.bz2 |
Make sync() POSIX-compliant.
-rw-r--r-- | cpukit/libcsupport/src/sync.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c index ad1ac0e052..6e46aaf114 100644 --- a/cpukit/libcsupport/src/sync.c +++ b/cpukit/libcsupport/src/sync.c @@ -70,7 +70,7 @@ static void sync_per_thread(Thread_Control *t) } } -int sync(void) +void sync(void) { extern struct _reent libc_global_reent; @@ -88,6 +88,4 @@ int sync(void) * Now walk all the per-thread reentrancy structures. */ rtems_iterate_over_all_threads(sync_per_thread); - - return 0; } |