chiark / gitweb /
Remove redundant initialization of `sub'.
[mLib] / crc-mktab.c
index def53613df0b431b691bf9a45d0e1408e2de8586..a3ba4301486b7a835a847316cb18cdae0c24d8b4 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: crc-mktab.c,v 1.2 2000/10/08 11:07:21 mdw Exp $
+ * $Id: crc-mktab.c,v 1.3 2001/01/20 12:06:01 mdw Exp $
  *
  * Build CRC tables
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: crc-mktab.c,v $
+ * Revision 1.3  2001/01/20 12:06:01  mdw
+ * Define flags with macros, to ensure unsignedness.
+ *
  * Revision 1.2  2000/10/08 11:07:21  mdw
  * With no arguments, give an error rather than spewing a big table at the
  * user.
@@ -66,11 +69,9 @@ static const char *type = 0;
 static const char *inc = 0;
 static FILE *fp;
 
-enum {
-  f_bogus = 1,
-  f_ctab = 2,
-  f_reverse = 4
-};
+#define f_bogus 1u
+#define f_ctab 2u
+#define f_reverse 4u
 
 #define BSCOL 72