summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fsync.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-26 22:04:19 +0000
commit05e75260d6952308d7c865ff67c0e3678b7ba935 (patch)
treeac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/sysdeps/linux/common/fsync.c
parent2fec342738cefe71910e8e8ab8636accfc5867bc (diff)
Get rid of missing prototype warnings
Diffstat (limited to 'libc/sysdeps/linux/common/fsync.c')
-rw-r--r--libc/sysdeps/linux/common/fsync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/fsync.c b/libc/sysdeps/linux/common/fsync.c
index 6db63527a..677f3e3d6 100644
--- a/libc/sysdeps/linux/common/fsync.c
+++ b/libc/sysdeps/linux/common/fsync.c
@@ -10,6 +10,7 @@
#include "syscalls.h"
#include <unistd.h>
+extern __typeof(fsync) __libc_fsync;
#define __NR___libc_fsync __NR_fsync
_syscall1(int, __libc_fsync, int, fd);
weak_alias(__libc_fsync, fsync)