some coverity fixes.
[minix.git] / lib / libc / sys-minix / sync.c
blob3bf0c3b63909852f0dd8508b1df4af9c23e1d217
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #ifdef __weak_alias
6 __weak_alias(sync, _sync)
7 #endif
9 #include <unistd.h>
11 void sync()
13 message m;
15 (void)(_syscall(VFS_PROC_NR, SYNC, &m));