hotspot/src/os/aix/vm/os_aix.cpp
changeset 30125 8ba6e8e367e9
parent 28737 ca4b6a6e5cc8
child 30139 a2ae06b774e5
--- a/hotspot/src/os/aix/vm/os_aix.cpp	Mon Mar 30 16:47:42 2015 +0000
+++ b/hotspot/src/os/aix/vm/os_aix.cpp	Mon Mar 30 17:32:18 2015 -0400
@@ -257,19 +257,6 @@
   return Aix::physical_memory();
 }
 
-////////////////////////////////////////////////////////////////////////////////
-// environment support
-
-bool os::getenv(const char* name, char* buf, int len) {
-  const char* val = ::getenv(name);
-  if (val != NULL && strlen(val) < (size_t)len) {
-    strcpy(buf, val);
-    return true;
-  }
-  if (len > 0) buf[0] = 0;  // return a null string
-  return false;
-}
-
 // Return true if user is running as root.
 
 bool os::have_special_privileges() {