aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-05-21 10:23:35 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-05-21 10:24:45 -0700
commit4acc6da418c97dbd24b5999ee2d17f1ccf15d441 (patch)
treed7a4ebb598ea5ab8e6e3a26fb3894952e304e939
parentcd5927c02749b7c9d58b5144586505c85b903c27 (diff)
downloadklibc-4acc6da418c97dbd24b5999ee2d17f1ccf15d441.tar.gz
[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@zytor.com>
-rw-r--r--usr/klibc/Kbuild2
-rw-r--r--usr/klibc/lseek.c (renamed from usr/klibc/llseek.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index fc90d53119461..2bef9cad5d330 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
index 93d813b71e2cf..a313bed6780b5 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()