silence gcc warning
authorClaus Gittinger <cg@exept.de>
Tue, 16 Feb 2016 12:24:58 +0100
changeset 7147 e914d0679641
parent 7146 19b4ad17ca3a
child 7148 00fade82bf90
child 7156 97b4f12aa796
silence gcc warning
XWorkstation.st
--- a/XWorkstation.st	Tue Feb 16 12:23:44 2016 +0100
+++ b/XWorkstation.st	Tue Feb 16 12:24:58 2016 +0100
@@ -359,7 +359,7 @@
 # ifdef __GNUC__
 VOLATILE
 # endif
-static
+static void
 dummyToForceLoading() {
 	XCreateSimpleWindow(0, 0, 0, 0, 0, 0, 0, 0, 0);
 	XCloseDisplay(0);
@@ -5656,9 +5656,11 @@
 	ENTER_XLIB();
 	if (__isExternalAddress(aWindowIdOrNil)) {
 	    win = __WindowVal(aWindowIdOrNil);
-	    while (XCheckWindowEvent(dpy, win, __intVal(aMask), &ev)) ;;
+	    while (XCheckWindowEvent(dpy, win, __intVal(aMask), &ev)) 
+		;;
 	} else {
-	    while (XCheckMaskEvent(dpy, __intVal(aMask), &ev)) ;;
+	    while (XCheckMaskEvent(dpy, __intVal(aMask), &ev)) 
+		;;
 	}
 	LEAVE_XLIB();
 	RETURN ( self );