ExternalBytes.st
branchjv
changeset 18026 fa8a879502cb
parent 18011 deb0c3355881
parent 14750 44f33d4dea0e
child 18043 03660093fe98
--- a/ExternalBytes.st	Tue Feb 05 15:50:13 2013 +0100
+++ b/ExternalBytes.st	Thu Feb 07 09:53:25 2013 +0100
@@ -18,6 +18,13 @@
 	category:'System-Support'
 !
 
+!ExternalBytes primitiveDefinitions!
+%{
+#include <stdlib.h>
+#include <stdio.h>
+%}
+! !
+
 !ExternalBytes primitiveFunctions!
 %{
 
@@ -122,7 +129,6 @@
     char *ptr;
 {
 	char *newPtr;
-	char *realloc();
 
 	removeFromMallocList(ptr);
 	newPtr = realloc(ptr, nBytes);
@@ -1310,11 +1316,12 @@
 !ExternalBytes class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ExternalBytes.st,v 1.85 2013-01-08 17:55:11 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ExternalBytes.st,v 1.87 2013-02-05 15:27:51 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/ExternalBytes.st,v 1.85 2013-01-08 17:55:11 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ExternalBytes.st,v 1.87 2013-02-05 15:27:51 stefan Exp $'
 ! !
 
+
 ExternalBytes initialize!