summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/sync.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-12-21 05:10:09 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-12-21 05:10:09 +0000
commitfbb5097c1bb1247b0372bbbfc1b0b209a559f946 (patch)
treedf795766fb905660475ff476352f0d14d96f5485 /cpukit/libcsupport/src/sync.c
parent2007-12-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-fbb5097c1bb1247b0372bbbfc1b0b209a559f946.tar.bz2
Make sync() POSIX-compliant.
Diffstat (limited to 'cpukit/libcsupport/src/sync.c')
-rw-r--r--cpukit/libcsupport/src/sync.c4
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;
}