summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-12-23 07:13:55 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-12-23 07:13:55 +0000
commite9a9bdd1e5f6111e73eb59efbeb2c0048f5c4251 (patch)
tree3eb02b55bffb5a8da72118d2b329f1a12a937b46
parentRegenerate. (diff)
downloadrtems-e9a9bdd1e5f6111e73eb59efbeb2c0048f5c4251.tar.bz2
Make sync() POSIX-compliant.
-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;
}