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
bf8cd85
..
f5b6668
100644
(file)
--- a/
src/unistd/lseek.c
+++ b/
src/unistd/lseek.c
@@
-1,7
+1,7
@@
#include <unistd.h>
#include "syscall.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;
@@
-11,4
+11,4
@@
off_t lseek(int fd, off_t offset, int whence)
#endif
}
-weak_alias(
lseek, lseek64
);
+weak_alias(
__lseek, lseek
);