diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-08-24 21:02:20 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-08-24 21:02:20 -0700 |
commit | 6d7908742314456001b677bff6c8a0e6f9efcd7d (patch) | |
tree | ad1bc6dfc2fb5749c361191a3c26977796c12577 | |
parent | 4de39ad5839c664b41d99ee590f0e37da505cf7b (diff) | |
download | klibc-6d7908742314456001b677bff6c8a0e6f9efcd7d.tar.gz |
[klibc] <unistd.h> pwrite: add missing "const"klibc-1.4.26
Second argument to pwrite() is "const".
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | usr/include/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/include/unistd.h b/usr/include/unistd.h index 4df42d6b599aa..c7badd88e1894 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -98,7 +98,7 @@ static __inline__ off_t llseek(int __f, off_t __o, int __w) __extern ssize_t read(int, void *, size_t); __extern ssize_t write(int, const void *, size_t); __extern ssize_t pread(int, void *, size_t, off_t); -__extern ssize_t pwrite(int, void *, size_t, off_t); +__extern ssize_t pwrite(int, const void *, size_t, off_t); __extern int dup(int); __extern int dup2(int, int); |