summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-08-05 13:20:39 +0000
committerAlexey Samsonov <samsonov@google.com>2013-08-05 13:20:39 +0000
commit53fbbf419e1db6c03132650f189d725d23f51a42 (patch)
tree95b8c7fb4e3a7ad5d61d719732737d1c0f4bfcea /include
parent5c48a8c4a8b3f7cd3f03f26c6aadc0ee606fc9b7 (diff)
downloadcompiler-rt-53fbbf419e1db6c03132650f189d725d23f51a42.tar.gz
compiler-rt-53fbbf419e1db6c03132650f189d725d23f51a42.tar.bz2
compiler-rt-53fbbf419e1db6c03132650f189d725d23f51a42.tar.xz
Lint fixes
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/sanitizer/linux_syscall_hooks.h3
-rw-r--r--include/sanitizer/lsan_interface.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/include/sanitizer/linux_syscall_hooks.h b/include/sanitizer/linux_syscall_hooks.h
index 5f898228..13bb1a9d 100644
--- a/include/sanitizer/linux_syscall_hooks.h
+++ b/include/sanitizer/linux_syscall_hooks.h
@@ -47,7 +47,8 @@ void __sanitizer_syscall_post_waitpid(long res, int pid, int *status,
int options);
void __sanitizer_syscall_post_clock_gettime(long res, int clk_id, void *tp);
void __sanitizer_syscall_post_clock_getres(long res, int clk_id, void *tp);
-void __sanitizer_syscall_post_read(long res, unsigned int fd, void *buf, size_t count);
+void __sanitizer_syscall_post_read(long res, unsigned int fd, void *buf,
+ size_t count);
// And now a few syscalls we don't handle yet.
diff --git a/include/sanitizer/lsan_interface.h b/include/sanitizer/lsan_interface.h
index 96ddc84e..df256c0e 100644
--- a/include/sanitizer/lsan_interface.h
+++ b/include/sanitizer/lsan_interface.h
@@ -35,7 +35,7 @@ extern "C" {
// you have intentional memory leaks in your shutdown code). Calling this
// function overrides end-of-process leak checking; it must be called at
// most once per process. This function will terminate the process if there
- // are memory leaks and the exit_code flag is non-zero.
+ // are memory leaks and the exit_code flag is non-zero.
void __lsan_do_leak_check();
#ifdef __cplusplus
} // extern "C"