--- a/XWorkstat.st Sun Oct 20 13:26:49 1996 +0200
+++ b/XWorkstat.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/Attic/XWorkstat.st,v 1.178 1996-10-20 11:26:49 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/Attic/XWorkstat.st,v 1.179 1996-10-20 11:32:44 cg Exp $'
! !
XWorkstation initialize!
--- 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!