Make sync() POSIX-compliant.

This commit is contained in:
Ralf Corsepius
2007-12-23 07:13:55 +00:00
parent 2bf27202ea
commit e9a9bdd1e5

View File

@@ -70,7 +70,7 @@ static void sync_per_thread(Thread_Control *t)
} }
} }
int sync(void) void sync(void)
{ {
extern struct _reent libc_global_reent; extern struct _reent libc_global_reent;
@@ -88,6 +88,4 @@ int sync(void)
* Now walk all the per-thread reentrancy structures. * Now walk all the per-thread reentrancy structures.
*/ */
rtems_iterate_over_all_threads(sync_per_thread); rtems_iterate_over_all_threads(sync_per_thread);
return 0;
} }