Jeroen Ketema [Thu, 19 Nov 2009 19:32:35 +0000 (20:32 +0100)]
Signed-off-by: Michael Weber <michaelw@foldr.org>

darwin9.c

index 243e607..cedfb85 100644 (file)
--- a/darwin9.c
+++ b/darwin9.c
@@ -342,16 +342,6 @@ get_time ()
 }
 
 int
-set_mem_limit (unsigned long maxbytes)
-{
-    struct rlimit       rl;
-    long int            softlimit = (long int)maxbytes * 95 / 100;
-    rl.rlim_cur = softlimit;
-    rl.rlim_max = maxbytes;
-    return setrlimit (RLIMIT_RSS, &rl);
-}
-
-int
 set_cpu_limit (unsigned long maxseconds)
 {
     struct rlimit       rl;