XWorkstation.st
changeset 1081 f7d19178fb2d
parent 1080 ee9c0ed32f33
child 1089 dd14759d8370
--- a/XWorkstation.st	Sun Oct 20 13:26:49 1996 +0200
+++ b/XWorkstation.st	Sun Oct 20 13:32:44 1996 +0200
@@ -220,7 +220,11 @@
 !XWorkstation primitiveFunctions!
 %{
 
-VOLATILE static int
+#ifdef __GNUC__
+VOLATILE 
+#endif
+
+static
 dummyToForceLoading() {
 	XCreateSimpleWindow(0, 0, 0, 0, 0, 0, 0, 0, 0);
 	XCloseDisplay(0);
@@ -235,7 +239,6 @@
 	shmctl(0,0,0);
 	fgetc(0);
 #endif
-	return 0;
 }
 
 /*
@@ -8148,6 +8151,6 @@
 !XWorkstation  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.178 1996-10-20 11:26:49 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.179 1996-10-20 11:32:44 cg Exp $'
 ! !
 XWorkstation initialize!