]> andersk Git - moira.git/blobdiff - gen/warehouse.pc
second code style cleanup: void/void * usage, proper #includes. try to
[moira.git] / gen / warehouse.pc
index cccb6b8e0fe6330d2bc2b9989d4173c0795b552c..3e18bdb0affc3a7307cb74e1645018789f8d8d13 100644 (file)
@@ -1,31 +1,36 @@
-/* $Header$
+/* $Id$
  *
  * This generates a database extract from the users table for the MIT
  * Warehouse.
  *
- *  (c) Copyright 1992 by the Massachusetts Institute of Technology.
- *  For copying and distribution information, please see the file
- *  <mit-copyright.h>.
+ * Copyright (C) 1996-1998 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
 
 #include <mit-copyright.h>
-#include <errno.h>
-#include <stdio.h>
 #include <moira.h>
 #include <moira_site.h>
-#include <des.h>
-#include <krb.h>
-#include <gdss.h>
-#include <sys/types.h>
+
 #include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/file.h>
-#include <string.h>
-#include <ctype.h>
+#include <sys/types.h>
+
 #include <fcntl.h>
+#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
+
+#include <krb.h>
+#include <gdss.h>
+
+#include "util.h"
+
 EXEC SQL INCLUDE sqlca;
 
+RCSID("$Header$");
+
 char *whoami = "warehouse.gen";
 char *db = "moira/moira";
 
@@ -44,7 +49,6 @@ int main(int argc, char **argv)
   struct stat sb;
   int flag1;
   SigInfo si;
-  struct timeval now;
   int records = 0;
   EXEC SQL BEGIN DECLARE SECTION;
   char login[9], sig[257], id[17], kname[257];
This page took 0.033134 seconds and 4 git commands to generate.