summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-07-30 13:16:52 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-07-30 13:16:52 +0000
commit3feb17c452c4e99b8c937132e401baefb8b57336 (patch)
tree99a3833f0875bebd3462ce5e28544c54c47b37e0 /compiler-rt/lib
parent0d3ef2741883f87ec3d0702e77d7abbc17ee5cbc (diff)
downloadbcm5719-llvm-3feb17c452c4e99b8c937132e401baefb8b57336.tar.gz
bcm5719-llvm-3feb17c452c4e99b8c937132e401baefb8b57336.zip
[sanitizer] Tweak read syscall handler signature for consistency.
llvm-svn: 187417
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
index 5f4b24c0f59..3f728d34049 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
@@ -162,11 +162,11 @@ POST_SYSCALL(clock_getres)(long res, int clk_id,
if (res == 0 && tp) POST_WRITE(tp, sizeof(*tp));
}
-PRE_SYSCALL(read)(unsigned int fd, char *buf, uptr count) {
+PRE_SYSCALL(read)(unsigned int fd, void *buf, uptr count) {
if (buf) PRE_WRITE(buf, count);
}
-POST_SYSCALL(read)(long res, unsigned int fd, char *buf, uptr count) {
+POST_SYSCALL(read)(long res, unsigned int fd, void *buf, uptr count) {
if (res > 0 && buf) POST_WRITE(buf, res);
}
OpenPOWER on IntegriCloud