Actually define PreventCoreFiles in the sys namespace.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 31 Aug 2004 17:53:41 +0000 (17:53 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 31 Aug 2004 17:53:41 +0000 (17:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16125 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/SysConfig.cpp

index a1c037639b0f5e3ea64e5a6752f9ac034c97ffa6..45b1f7d6f05a51953c5f29af4e4dbfa0e90a6d93 100644 (file)
 #include <sys/resource.h>
 
 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);