summaryrefslogtreecommitdiff
path: root/xc/lib/Xt/Event.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/Xt/Event.c')
-rw-r--r--xc/lib/Xt/Event.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/xc/lib/Xt/Event.c b/xc/lib/Xt/Event.c
index 6059685d2..deda99cdf 100644
--- a/xc/lib/Xt/Event.c
+++ b/xc/lib/Xt/Event.c
@@ -54,17 +54,12 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/Xt/Event.c,v 3.8 2001/07/29 05:01:12 tsi Exp $ */
#include "IntrinsicI.h"
#include "Shell.h"
#include "StringDefs.h"
-#ifdef __STDC__
-#define Const const
-#else
-#define Const /**/
-#endif
-
typedef struct _XtEventRecExt {
int type;
XtPointer select_data[1]; /* actual dimension is [mask] */
@@ -579,7 +574,7 @@ typedef struct _WWTable {
WWPair pairs; /* bogus entries */
} *WWTable;
-static Const WidgetRec WWfake; /* placeholder for deletions */
+static const WidgetRec WWfake; /* placeholder for deletions */
#define WWHASH(tab,win) ((win) & tab->mask)
#define WWREHASHVAL(tab,win) ((((win) % tab->rehash) + 2) | 1)
@@ -1235,7 +1230,7 @@ char * arg;
return(FALSE);
}
-static EventMask Const masks[] = {
+static EventMask const masks[] = {
0, /* Error, should never see */
0, /* Reply, should never see */
KeyPressMask, /* KeyPress */