Use gcc -ansi -pedantic in 9c.  Fix many non-C89-isms.
diff --git a/include/venti.h b/include/venti.h
index 2250e0b..1b239af 100644
--- a/include/venti.h
+++ b/include/venti.h
@@ -17,7 +17,7 @@
  */
 enum
 {
-	MaxFragSize = 9*1024,
+	MaxFragSize = 9*1024
 };
 
 typedef struct Packet Packet;
@@ -91,7 +91,7 @@
 	VtScoreSize = 20,
 	VtMaxStringSize = 1024,
 	VtMaxLumpSize	= 56*1024,
-	VtPointerDepth	= 7,
+	VtPointerDepth	= 7
 };
 #define VtMaxFileSize ((1ULL<<48)-1)
 
@@ -120,7 +120,7 @@
 	VtCorruptType = 0xFF,
 
 	VtTypeDepthMask = 7,
-	VtTypeBaseMask = ~VtTypeDepthMask,
+	VtTypeBaseMask = ~VtTypeDepthMask
 };
 
 /* convert to/from on-disk type numbers */
@@ -141,11 +141,11 @@
 	_VtEntryDir = 1<<1,		/* a directory */
 	_VtEntryDepthShift = 2,		/* shift for pointer depth */
 	_VtEntryDepthMask = 7<<2,	/* mask for pointer depth */
-	VtEntryLocal = 1<<5,		/* for local storage only */
+	VtEntryLocal = 1<<5		/* for local storage only */
 };
 enum
 {
-	VtEntrySize = 40,
+	VtEntrySize = 40
 };
 struct VtEntry
 {
@@ -173,7 +173,7 @@
 enum
 {
 	VtRootSize = 300,
-	VtRootVersion = 2,
+	VtRootVersion = 2
 };
 
 void vtrootpack(VtRoot*, uchar*);
@@ -231,7 +231,7 @@
 	VtCryptoStrengthNone,
 	VtCryptoStrengthAuth,
 	VtCryptoStrengthWeak,
-	VtCryptoStrengthStrong,
+	VtCryptoStrengthStrong
 };
 
 /*
@@ -242,7 +242,7 @@
 	VtCryptoNone,
 	VtCryptoSSL3,
 	VtCryptoTLS1,
-	VtCryptoMax,
+	VtCryptoMax
 };
 
 /* 
@@ -313,7 +313,7 @@
 {
 	VtStateAlloc,
 	VtStateConnected,
-	VtStateClosed,
+	VtStateClosed
 };
 
 struct VtConn
@@ -387,7 +387,7 @@
  */
 enum
 {
-	NilBlock = ~0,
+	NilBlock = ~0
 };
 
 typedef struct VtBlock VtBlock;
@@ -459,7 +459,7 @@
 {
 	VtOREAD,
 	VtOWRITE,
-	VtORDWR,
+	VtORDWR
 };
 
 VtFile *vtfileopenroot(VtCache*, VtEntry*);