]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 951ff58436905546cd32a149798bfadcdaf6d15c..c5b6fc7968dba42c64f0e682796af9e8fececb11 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 c7d351b4111cbac714d396d9c271bd10de96f60c..e4fa7ef973d53f27844fbd004a83362347089ea6 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 2d777713e53a198005fc6dc7a2dbd395bc92c13f..ab57639513fe71f5b6e9274a732f39ddcb30c67b 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 f8dacc44f5dde9928b98efa114a01f94d474297f..386faa24e5a1a76ca37ccc625bf67c55173aafd0 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"