diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-12-01 17:51:57 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-12-01 19:05:03 -0800 |
commit | 1ffd77db02e385495e1f0d860ccf50f2de1842d4 (patch) | |
tree | 79ae7863113fb818640c500c68f04cffdc715a91 /compiler-rt | |
parent | 7ccc4ef55f9a4ebe381a980796e9c63220a48ab2 (diff) | |
download | llvm-1ffd77db02e385495e1f0d860ccf50f2de1842d4.zip llvm-1ffd77db02e385495e1f0d860ccf50f2de1842d4.tar.gz llvm-1ffd77db02e385495e1f0d860ccf50f2de1842d4.tar.bz2 |
[NFC][ASAN] Declare few functions as static
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/asan/asan_rtl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_rtl.cpp b/compiler-rt/lib/asan/asan_rtl.cpp index d1e7856..d8bd19d 100644 --- a/compiler-rt/lib/asan/asan_rtl.cpp +++ b/compiler-rt/lib/asan/asan_rtl.cpp @@ -74,9 +74,9 @@ static void CheckUnwind() { static int asan_inited = 0; static int asan_init_is_running = 0; -void SetAsanInited(u32 val) { asan_inited = val; } +static void SetAsanInited(u32 val) { asan_inited = val; } -void SetAsanInitIsRunning(u32 val) { asan_init_is_running = val; } +static void SetAsanInitIsRunning(u32 val) { asan_init_is_running = val; } bool AsanInited() { return asan_inited == 1; } |