]> andersk Git - moira.git/blobdiff - gen/util.c
add a cast from unsigned char * to char * for Irix n32 cc
[moira.git] / gen / util.c
index 2640b2ca58bbcbd06c55aeb3512c38803021c35e..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];
 
@@ -45,7 +49,7 @@ fix_file(char *targetfile)
 }
 
 
-char *dequote(register char *s)
+char *dequote(char *s)
 {
   char *last = s;
 
@@ -65,7 +69,7 @@ char *dequote(register char *s)
 }
 
 
-db_error(int code)
+void db_error(int code)
 {
   extern char *whoami;
   char buf[256];
This page took 0.041982 seconds and 4 git commands to generate.