[klibc] [klibc:master] Rename llseek.c to lseek.c
klibc-bot for H. Peter Anvin
hpa at zytor.com
Mon May 21 14:47:39 PDT 2012
Commit-ID: 4acc6da418c97dbd24b5999ee2d17f1ccf15d441
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4acc6da418c97dbd24b5999ee2d17f1ccf15d441
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 21 May 2012 10:23:35 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Mon, 21 May 2012 10:24:45 -0700
[klibc] Rename llseek.c to lseek.c
The file llseek.c actually implements lseek() on 32-bit platforms (on
64-bit platforms, lseek() is a plain system call.) Rename the file
accordingly.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
usr/klibc/Kbuild | 2 +-
usr/klibc/{llseek.c => lseek.c} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index fc90d53..2bef9ca 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -52,7 +52,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \
clearenv.o nullenv.o \
getopt.o getopt_long.o readdir.o scandir.o alphasort.o remove.o \
syslog.o closelog.o pty.o getpt.o posix_openpt.o isatty.o reboot.o \
- time.o utime.o llseek.o nice.o getpriority.o \
+ time.o utime.o lseek.o nice.o getpriority.o \
qsort.o bsearch.o \
lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \
inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
diff --git a/usr/klibc/llseek.c b/usr/klibc/lseek.c
similarity index 98%
rename from usr/klibc/llseek.c
rename to usr/klibc/lseek.c
index 93d813b..a313bed 100644
--- a/usr/klibc/llseek.c
+++ b/usr/klibc/lseek.c
@@ -1,5 +1,5 @@
/*
- * llseek.c
+ * lseek.c
*
* On 32-bit platforms, we need to use the _llseek() system call
* rather than lseek(), to be able to handle large disks. _llseek()
More information about the klibc
mailing list