/* -*-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
*
/*----- 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.
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