summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/llseek.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-15 22:41:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-15 22:41:03 +0000
commit0d212a2b26a764bba1c8220ee84547247bd78ad8 (patch)
treee34fb551f34f3500c5fafc5234bb95e0b7722d6c /libc/sysdeps/linux/common/llseek.c
parentc50ee9bde4fa794cd2bb962dd1f3f44d0fbf8274 (diff)
make gcc4 happy w/ hidden_def/proto, correct some typos
Diffstat (limited to 'libc/sysdeps/linux/common/llseek.c')
-rw-r--r--libc/sysdeps/linux/common/llseek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 7cfbce8ba..4ebef54ca 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -17,6 +17,7 @@
# undef __USE_FILE_OFFSET64
#endif
#include <errno.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>
@@ -44,7 +45,7 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
return(loff_t)(__libc_lseek(fd, (off_t) (offset), whence));
}
#endif
-strong_alias(__libc_lseek64,lseek64)
libc_hidden_proto(lseek64)
+strong_alias(__libc_lseek64,lseek64)
libc_hidden_def(lseek64)
//strong_alias(__libc_lseek64,_llseek)