From a6d0afcb7469de165d9c9d87d8f380cd5137dee1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 7 Aug 2009 01:32:21 +0000 Subject: Fix a bunch of namespace pollution. llvm-svn: 78363 --- llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/ExecutionEngine') diff --git a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp index 0dde845559e..33143394f4c 100644 --- a/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +++ b/llvm/lib/ExecutionEngine/JIT/Intercept.cpp @@ -57,6 +57,7 @@ static void runAtExitHandlers() { * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' * available as an exported symbol, so we have to add it explicitly. */ +namespace { class StatSymbols { public: StatSymbols() { @@ -73,6 +74,7 @@ public: sys::DynamicLibrary::AddSymbol("mknod", (void*)(intptr_t)mknod); } }; +} static StatSymbols initStatSymbols; #endif // __linux__ -- cgit v1.2.3