diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-02-05 11:38:14 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-02-05 11:39:20 -0800 |
commit | b2e25af00c4b6268624a06472477112fc015e7d8 (patch) | |
tree | 899025373cb106e818f819a0e41eebf64c09f626 | |
parent | eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942 (diff) | |
download | glibc-b2e25af00c4b6268624a06472477112fc015e7d8.zip glibc-b2e25af00c4b6268624a06472477112fc015e7d8.tar.gz glibc-b2e25af00c4b6268624a06472477112fc015e7d8.tar.bz2 |
Fix aliases in stub lseek.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | io/lseek.c | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,8 @@ 2013-02-05 Roland McGrath <roland@hack.frob.com> + * io/lseek.c (__lseek): Rename to __libc_lseek. + Define __lseek as an alias. + * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>. 2013-02-04 Carlos O'Donell <carlos@redhat.com> @@ -21,7 +21,7 @@ /* Seek to OFFSET on FD, starting from WHENCE. */ off_t -__lseek (fd, offset, whence) +__libc_lseek (fd, offset, whence) int fd; off_t offset; int whence; @@ -45,7 +45,8 @@ __lseek (fd, offset, whence) __set_errno (ENOSYS); return -1; } +weak_alias (__libc_lseek, __lseek) +weak_alias (__libc_lseek, lseek) stub_warning (lseek) -libc_hidden_def (__lseek) -weak_alias (__lseek, lseek) +libc_hidden_def (__lseek) |