diff lwlib/xlwgcs.c @ 458:c33ae14dd6d0 r21-2-44

Import from CVS: tag r21-2-44
author cvs
date Mon, 13 Aug 2007 11:42:25 +0200
parents abe6d1db359e
children 04bc9d2f42c7
line wrap: on
line diff
--- a/lwlib/xlwgcs.c	Mon Aug 13 11:41:26 2007 +0200
+++ b/lwlib/xlwgcs.c	Mon Aug 13 11:42:25 2007 +0200
@@ -169,7 +169,8 @@
 
 #if	XtSpecificationRelease	< 5
 
-static	GC	XtAllocateGC(Widget, int, u_long, XGCValues *, u_long, u_long) ;
+static	GC	XtAllocateGC(Widget, int, unsigned long, XGCValues *,
+			     unsigned long, unsigned long) ;
 
 #endif
 
@@ -186,7 +187,7 @@
 AllocFgGC(Widget w, Pixel fg, Font font)
 {
 	XGCValues	values ;
-	u_long		vmask, dcmask ;
+	unsigned long	vmask, dcmask ;
 
 	values.foreground = fg ;
 	values.font = font ;
@@ -233,7 +234,7 @@
 	int contrast, Bool be_nice_to_cmap)
 {
 	XGCValues	values ;
-	u_long		vmask, dcmask ;
+	unsigned long	vmask, dcmask ;
 
 	values.foreground = fg ;
 	values.background = bg ;
@@ -513,18 +514,18 @@
 #if XtSpecificationRelease < 5
 
 static	GC
-XtAllocateGC(Widget w, int depth, u_long mask, XGCValues *values,
-	u_long dynamic, du_long ontcare)
+XtAllocateGC(Widget w, int depth, unsigned long mask, XGCValues *values,
+	     unsigned long dynamic, unsigned long dontcare)
 {
 	return XtGetGC(w, mask, values) ;
 }
 #endif
 
 
-static	u_char	screen0[2] = {0,0} ;
-static	u_char	screen25[2] = {0,0xaa} ;
-static	u_char	screen75[2] = {0xaa,0xff} ;
-static	u_char	screen100[2] = {0xff,0xff} ;
+static	unsigned char screen0[2] = {0,0} ;
+static	unsigned char screen25[2] = {0,0xaa} ;
+static	unsigned char screen75[2] = {0xaa,0xff} ;
+static	unsigned char screen100[2] = {0xff,0xff} ;
 
 static	Pixmap
 getDitherPixmap(Widget w, int contrast)