Output the table with the correct new header guard names.
authormdw <mdw>
Wed, 22 Dec 1999 16:02:30 +0000 (16:02 +0000)
committermdw <mdw>
Wed, 22 Dec 1999 16:02:30 +0000 (16:02 +0000)
des-mktab.c

index 07cff39..ed03fbc 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: des-mktab.c,v 1.1 1999/09/03 08:41:11 mdw Exp $
+ * $Id: des-mktab.c,v 1.2 1999/12/22 16:02:30 mdw Exp $
  *
  * Build combined S-P tables for DES
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: des-mktab.c,v $
+ * Revision 1.2  1999/12/22 16:02:30  mdw
+ * Output the table with the correct new header guard names.
+ *
  * Revision 1.1  1999/09/03 08:41:11  mdw
  * Initial import.
  *
@@ -251,7 +254,13 @@ int main(void)
   validate();
 
   fputs("\
-/* DES SP table (generated) */\n\
+/* -*-c-*-\n\
+ *\n\
+ * DES SP table [generated]\n\
+ */\n\
+\n\
+#ifndef CATACOMB_DES_SP_H\n\
+#define CATACOMB_DES_SP_H\n\
 \n\
 #define DES_SP {                                                       \\\n\
 ", stdout);
@@ -272,7 +281,11 @@ int main(void)
     }
     printf(" }%s                       \\\n", i == 7 ? "" : ",");
   }
-  fputs("}\n", stdout);
+  fputs("\
+}\n\
+\n\
+#endif\n\
+", stdout);
   return (0);
 }