From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- include/draw.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/draw.h') diff --git a/include/draw.h b/include/draw.h index de5e0c26..152394f5 100644 --- a/include/draw.h +++ b/include/draw.h @@ -60,7 +60,7 @@ enum { Displaybufsize = 8000, ICOSSCALE = 1024, - Borderwidth = 4, + Borderwidth = 4 }; enum @@ -103,7 +103,7 @@ typedef enum DatopS = DinS|SoutD, DxorS = DoutS|SoutD, /* == SxorD */ - Ncomp = 12, + Ncomp = 12 } Drawop; /* @@ -117,7 +117,7 @@ enum { CAlpha, CMap, CIgnore, - NChan, + NChan }; #define __DC(type, nbits) ((((type)&15)<<4)|((nbits)&15)) @@ -143,7 +143,7 @@ enum { ARGB32 = CHAN4(CAlpha, 8, CRed, 8, CGreen, 8, CBlue, 8), /* stupid VGAs */ ABGR32 = CHAN4(CAlpha, 8, CBlue, 8, CGreen, 8, CRed, 8), XRGB32 = CHAN4(CIgnore, 8, CRed, 8, CGreen, 8, CBlue, 8), - XBGR32 = CHAN4(CIgnore, 8, CBlue, 8, CGreen, 8, CRed, 8), + XBGR32 = CHAN4(CIgnore, 8, CBlue, 8, CGreen, 8, CRed, 8) }; extern char* chantostr(char*, u32int); @@ -526,7 +526,7 @@ extern void drawsetdebug(int); */ enum { - SnarfSize = 64*1024, + SnarfSize = 64*1024 }; char *getsnarf(void); void putsnarf(char*); -- cgit v1.2.3