Use gcc -ansi -pedantic in 9c.  Fix many non-C89-isms.
diff --git a/include/memdraw.h b/include/memdraw.h
index a1981ec..057a0a8 100644
--- a/include/memdraw.h
+++ b/include/memdraw.h
@@ -33,7 +33,7 @@
 	Fgrey	= 1<<2,	/* is grey */
 	Falpha	= 1<<3,	/* has explicit alpha */
 	Fcmap	= 1<<4,	/* has cmap channel */
-	Fbytes	= 1<<5,	/* has only 8-bit channels */
+	Fbytes	= 1<<5	/* has only 8-bit channels */
 };
 
 struct Memimage
@@ -94,8 +94,8 @@
 	Simplemask=1<<1,
 	Replsrc=1<<2,
 	Replmask=1<<3,
-	Fullsrc = 1<<4,
-	Fullmask=1<<5,
+	Fullsrc=1<<4,
+	Fullmask=1<<5
 };
 struct	Memdrawparam
 {