--- old/src/os/bsd/vm/os_bsd.cpp 2015-03-26 02:34:08.070337166 -0400 +++ new/src/os/bsd/vm/os_bsd.cpp 2015-03-26 02:34:07.026278428 -0400 @@ -190,20 +190,6 @@ return Bsd::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() {