src/share/vm/libadt/port.hpp

Print this page

        

@@ -32,22 +32,11 @@
 #define IMPLEMENTATION  #pragma implementation
 //INTERFACE
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
-#undef bzero
-inline void bzero(void *b, int len) { memset(b,0,len); }
-#undef bcopy
-inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); }
-#undef bcmp
-inline int bcmp(const void *s,const void *t,int len) { return memcmp(s,t,len);}
-extern "C" unsigned long strtoul(const char *s, char **end, int base);
 
-// Definition for sys_errlist varies from Sun 4.1 & Solaris.
-// We use the new Solaris definition.
-#include <string.h>
-
 // Access to the C++ class virtual function pointer
 // Put the class in the macro
 typedef void *VPTR;
 // G++ puts it at the end of the base class
 #define ACCESS_VPTR(class) VPTR&vptr(){return*(VPTR*)((char*)this+sizeof(class)-sizeof(void*));}