--- old/src/os/aix/vm/os_aix.cpp 2015-03-18 10:08:01.278458000 -0700 +++ new/src/os/aix/vm/os_aix.cpp 2015-03-18 10:08:01.193455000 -0700 @@ -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() {