diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /include/draw.h | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2 plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip |
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'include/draw.h')
-rw-r--r-- | include/draw.h | 10 |
1 files changed, 5 insertions, 5 deletions
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*); |