diff --git a/lib/System/Unix/SysConfig.cpp b/lib/System/Unix/SysConfig.cpp index a1c037639b0..45b1f7d6f05 100644 --- a/lib/System/Unix/SysConfig.cpp +++ b/lib/System/Unix/SysConfig.cpp @@ -16,13 +16,11 @@ #include namespace llvm { -using namespace sys; - // Some LLVM programs such as bugpoint produce core files as a normal part of // their operation. To prevent the disk from filling up, this configuration item // does what's necessary to prevent their generation. -void PreventCoreFiles() { +void sys::PreventCoreFiles() { struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 0; int res = setrlimit(RLIMIT_CORE, &rlim);