From fbb5097c1bb1247b0372bbbfc1b0b209a559f946 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 21 Dec 2007 05:10:09 +0000 Subject: Make sync() POSIX-compliant. --- cpukit/libcsupport/src/sync.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpukit/libcsupport/src/sync.c') 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