]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
xstat: Tidy up header includes
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 2 Apr 2011 14:06:10 +0000 (15:06 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 4 Apr 2011 19:12:26 +0000 (12:12 -0700)
Remove headers which are provided by libroken, and reorder header
includes so that they're a bit a more legible.

Change-Id: I750ac319feb38e416abb0b8e3575613309c6ab8e
Reviewed-on: http://gerrit.openafs.org/4422
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/xstat/xstat_cm.c
src/xstat/xstat_cm_test.c
src/xstat/xstat_fs.c
src/xstat/xstat_fs_callback.c
src/xstat/xstat_fs_test.c

index 761131a081d314d9980ed50c4c7fce1717f0103d..c7227d224916de2d29a1edfbbd9cd5c3d839c414 100644 (file)
 
 #include <afsconfig.h>
 #include <afs/param.h>
+
 #include <roken.h>
 
 #include "xstat_cm.h"          /*Interface for this module */
 #include <lwp.h>               /*Lightweight process package */
 
 #include <afs/afsutil.h>
-#include <string.h>
 
 #define LWP_STACK_SIZE (16 * 1024)
 
index 75b6b31fff889a613b44614dc023ce025f75638f..256382a6ba18e8beb07d798144d4d3149fec1fc0 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "xstat_cm.h"          /*Interface for xstat_cm module */
 #include <afs/cmd.h>           /*Command line interpreter */
-#include <time.h>
-#include <string.h>
 #include <afs/afsutil.h>
 
 /*
index f969e6c24859514a06e8a183852416984e674c75..16ac29a44ca12f642e74db87d1f96b7ce9b6a450 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
+
 #include <roken.h>
 
 #include "xstat_fs.h"          /*Interface for this module */
@@ -23,7 +24,6 @@
 
 #include <afs/afsutil.h>
 #include <afs/afscbint.h>
-#include <string.h>
 
 #define LWP_STACK_SIZE (16 * 1024)
 
index ed6646c3ecfc35fd00ec257c2dc73c83bb28b965..35b6a7ca43068904c1749efedef1754319560dbe 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
+
 #include <roken.h>
 
 #ifdef AFS_NT40_ENV
 #include <rpc.h>
 #endif
 
-
-#include <errno.h>
-#include <stdio.h>             /*Standard I/O stuff */
-#include <string.h>
-
 #include <afs/afscbint.h>      /*Callback interface defs */
 #include <afs/afsutil.h>
 
index 79a3523d6e1268b6dbdf9342cd29339eaf3a6c4b..672944a40d11c685dbad4105d72e44b44b0cc110 100644 (file)
 
 #include <afsconfig.h>
 #include <afs/param.h>
-#include <roken.h>
 
+#include <roken.h>
 
 #include "xstat_fs.h"          /*Interface for xstat_fs module */
 #include <afs/cmd.h>           /*Command line interpreter */
-#include <time.h>
-#include <string.h>
 #include <afs/afsutil.h>
 
 /*