From 084d365c9044ecce87b54b2785100ef7c263c3be Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Fri, 10 Nov 2017 03:35:26 +0000 Subject: [PATCH] [sanitizer] Remove unneeded forward declarations llvm-svn: 317868 --- compiler-rt/lib/asan/asan_interceptors.h | 4 ---- compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc | 4 ---- 2 files changed, 8 deletions(-) diff --git a/compiler-rt/lib/asan/asan_interceptors.h b/compiler-rt/lib/asan/asan_interceptors.h index 8772746..df2cdca 100644 --- a/compiler-rt/lib/asan/asan_interceptors.h +++ b/compiler-rt/lib/asan/asan_interceptors.h @@ -19,10 +19,6 @@ #include "interception/interception.h" #include "sanitizer_common/sanitizer_platform_interceptors.h" -namespace __sanitizer { -struct __sanitizer_sigaction; -} - namespace __asan { void InitializeAsanInterceptors(); diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc b/compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc index a7fae85..3e1b5ec 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc @@ -18,10 +18,6 @@ using namespace __sanitizer; -namespace __sanitizer { -struct __sanitizer_sigaction; -} - #ifndef SIGNAL_INTERCEPTOR_SIGNAL_IMPL #define SIGNAL_INTERCEPTOR_SIGNAL_IMPL(func, signum, handler) \ { return REAL(func)(signum, handler); } -- 2.7.4