procmgmt: Tidy header includes
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 25 Mar 2011 19:46:42 +0000 (19:46 +0000)
committerJeffrey Altman <jaltman@openafs.org>
Sun, 3 Apr 2011 16:39:42 +0000 (09:39 -0700)
Remove headers which are provided by libroken, and reorder header
includes so that they're a bit a more legible.

Change-Id: I82fb06f8d531476cc89e53ec189be15cb7ebf5d7
Reviewed-on: http://gerrit.openafs.org/4402
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>

src/procmgmt/afskill.c
src/procmgmt/procmgmt_nt.c
src/procmgmt/procmgmt_unix.c
src/procmgmt/redirect_nt.c

index 951ff58..c5b6fc7 100644 (file)
 
 #include <afsconfig.h>
 #include <afs/param.h>
-
-
 #include <afs/stds.h>
 
-#include <stddef.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
-
 #include "procmgmt.h"
 
+#include <roken.h>
 
 /* Define NULL-terminated array of signal name/number pairs */
 typedef struct {
index c7d351b..e4fa7ef 100644 (file)
@@ -9,25 +9,19 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
+#include <afs/stds.h>
 
+#include "procmgmt.h" /* Must be before roken */
 
-#include <afs/stds.h>
+#include <roken.h>
 
-#include <stddef.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
 #include <windows.h>
 #include <pthread.h>
 #include <afs/errmap_nt.h>
 #include <afs/secutil_nt.h>
 
-#include "procmgmt.h"
 #include "pmgtprivate.h"
 
-
-
 /* Signal disposition table and associated definitions and locks */
 
 typedef struct {
index 2d77771..ab57639 100644 (file)
@@ -9,13 +9,9 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
-
-
 #include <afs/stds.h>
 
-#include <stddef.h>
-#include <stdlib.h>
-#include <errno.h>
+#include <roken.h>
 
 #include "procmgmt.h"
 #include "pmgtprivate.h"
index f8dacc4..386faa2 100644 (file)
 #include <afsconfig.h>
 #include <afs/param.h>
 
+#include <roken.h>
 
-
-#include <stddef.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
-#include <signal.h>
 #include <windows.h>
 
 #include "pmgtprivate.h"