]> andersk Git - moira.git/blobdiff - server/startmoira.c
return MR_IN_USE if a user tries to delete a host with cnames
[moira.git] / server / startmoira.c
index f35fa07fe6cf14c834a6c90977c2fcc5c58b7a80..74cd79ba50b34e6b4d6c368e1f5421065b1e9762 100644 (file)
@@ -17,13 +17,15 @@ static char *rcsid_mr_starter_c = "$Header$";
 #endif lint
 
 #include <mit-copyright.h>
+#include <errno.h>
 #include <stdio.h>
-#include <strings.h>
+#include <string.h>
 #include <sys/types.h>
 #include <sys/file.h>
 #include <sys/wait.h>
 #include <sys/signal.h>
 #include <sys/ioctl.h>
+#include <time.h>
 #include <fcntl.h>
 #include <sys/resource.h>
 #include <moira_site.h>
@@ -35,7 +37,7 @@ int rdpipe[2];
 extern int errno;
 char *whoami;
 
-cleanup()
+void cleanup()
 {
        int stat, serrno = errno;
        char buf[BUFSIZ];
@@ -135,7 +137,6 @@ main(argc, argv)
        
        do {
                char *time_s;
-               extern char *ctime();
                long foo;
                
                done = 0;
This page took 0.060067 seconds and 4 git commands to generate.