From e9a9bdd1e5f6111e73eb59efbeb2c0048f5c4251 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 23 Dec 2007 07:13:55 +0000 Subject: Make sync() POSIX-compliant. --- cpukit/libcsupport/src/sync.c | 4 +--- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3