projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fgets: avoid arithmetic overflow when n==INT_MIN is passed
[musl]
/
src
/
unistd
/
lseek.c
diff --git
a/src/unistd/lseek.c
b/src/unistd/lseek.c
index
0a5ed39
..
f5b6668
100644
(file)
--- a/
src/unistd/lseek.c
+++ b/
src/unistd/lseek.c
@@
-1,8
+1,7
@@
#include <unistd.h>
#include "syscall.h"
-#include "libc.h"
-off_t lseek(int fd, off_t offset, int whence)
+off_t
__
lseek(int fd, off_t offset, int whence)
{
#ifdef SYS__llseek
off_t result;
@@
-12,4
+11,4
@@
off_t lseek(int fd, off_t offset, int whence)
#endif
}
-
LFS64(
lseek);
+
weak_alias(__lseek,
lseek);