]> andersk Git - moira.git/blobdiff - update/exec_002.c
second code style cleanup: void/void * usage, proper #includes. try to
[moira.git] / update / exec_002.c
index 50f817392d5789c585222dc8962a941b7f225be5..aeec495c18d5634077fa16aadbbfa05b38c6fcce 100644 (file)
@@ -1,27 +1,28 @@
-/*
- *     $Source$
- *     $Header$
+/* $Id$
+ *
+ * Copyright (C) 1988-1998 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
  */
-/*  (c) Copyright 1988 by the Massachusetts Institute of Technology. */
-/*  For copying and distribution information, please see the file */
-/*  <mit-copyright.h>. */
-
-#ifndef lint
-static char *rcsid_exec_002_c = "$Header$";
-#endif
 
 #include <mit-copyright.h>
-#include <stdio.h>
-#include <errno.h>
-#include <sys/types.h>
+#include <moira.h>
+#include "update_server.h"
+#include "update.h"
+
 #include <sys/wait.h>
+
+#include <errno.h>
 #include <signal.h>
+#include <stdio.h>
+#include <unistd.h>
+
 #include <gdb.h>
-#include <moira.h>
-#include "update.h"
+
+RCSID("$Header$");
 
 extern CONNECTION conn;
-extern int code, errno, uid, log_priority, have_authorization;
+extern int code, uid, log_priority, have_authorization;
 extern char *whoami;
 
 int exec_002(char *str)
@@ -106,4 +107,5 @@ int exec_002(char *str)
            exit(1);
        }
     }
+  return 0;
 }
This page took 0.034073 seconds and 4 git commands to generate.