hotspot/src/share/vm/libadt/port.hpp
changeset 1889 24b003a6fe46
parent 1 489c9b5090e2
child 2105 347008ce7984
--- a/hotspot/src/share/vm/libadt/port.hpp	Wed Dec 24 13:06:09 2008 -0800
+++ b/hotspot/src/share/vm/libadt/port.hpp	Wed Dec 24 19:13:53 2008 -0800
@@ -34,17 +34,6 @@
 #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