]> andersk Git - moira.git/blobdiff - gen/util.c
second code style cleanup: void/void * usage, proper #includes. try to
[moira.git] / gen / util.c
index 320ccef6361bb9d4791bf1963dac8638b1463a4c..9e8f2a91e0d496e0a9b2d133d21e17298f020f0a 100644 (file)
@@ -1,22 +1,26 @@
-/* $Header$
+/* $Id$
  *
  * Utility routines used by the MOIRA extraction programs.
  *
- *  (c) Copyright 1988 by the Massachusetts Institute of Technology.
- *  For copying and distribution information, please see the file
- *  <mit-copyright.h>.
+ * Copyright (C) 1988-1998 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
 
-
 #include <mit-copyright.h>
-#include <stdio.h>
-#include <sys/time.h>
 #include <moira.h>
 #include <moira_site.h>
 
+#include <stdio.h>
+#include <unistd.h>
+
+#include "util.h"
+
+RCSID("$Header$");
+
 extern void sqlglm(char buf[], int *, int *);
 
-fix_file(char *targetfile)
+void fix_file(char *targetfile)
 {
   char oldfile[64], filename[64];
 
@@ -65,7 +69,7 @@ char *dequote(char *s)
 }
 
 
-db_error(int code)
+void db_error(int code)
 {
   extern char *whoami;
   char buf[256];
This page took 0.032563 seconds and 4 git commands to generate.