diff options
| author | Richard Henderson <rth@dot.sfbay.redhat.com> | 2002-11-03 00:55:51 -0800 |
|---|---|---|
| committer | Richard Henderson <rth@are.twiddle.net> | 2002-11-03 00:55:51 -0800 |
| commit | 145163246dcd9ac30819d68b2fc5f88b8a3ba89f (patch) | |
| tree | b56fb609880461ca473b9019b70e1a8127e008f4 /include | |
| parent | 2e95d1fa79a38ef28d9adffa6cea2fdccb2cc25a (diff) | |
Fix up Alpha for initramfs changes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-alpha/unistd.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h index e35f02b4713b..296408dae77a 100644 --- a/include/asm-alpha/unistd.h +++ b/include/asm-alpha/unistd.h @@ -552,9 +552,9 @@ static inline long close(int fd) } extern off_t sys_lseek(int, off_t, int); -static inline off_t lseek(int fd, off_t off, int whense) +static inline off_t lseek(int fd, off_t off, int whence) { - return sys_lseek(fd, off, whense); + return sys_lseek(fd, off, whence); } extern long sys_exit(int); @@ -565,14 +565,14 @@ static inline long _exit(int value) #define exit(x) _exit(x) -extern long sys_write(int, const char *, int); -static inline long write(int fd, const char * buf, int nr) +extern long sys_write(int, const char *, size_t); +static inline long write(int fd, const char * buf, size_t nr) { return sys_write(fd, buf, nr); } -extern long sys_read(int, char *, int); -static inline long read(int fd, char * buf, int nr) +extern long sys_read(int, char *, size_t); +static inline long read(int fd, char * buf, size_t nr) { return sys_read(fd, buf, nr); } |
