From: Simon Wilkinson Date: Thu, 24 Mar 2011 21:03:00 +0000 (+0000) Subject: fsprobe: Tidy header includes X-Git-Tag: upstream/1.8.0_pre1^2~3956 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ffd91d91f431a248c550a6f307af1a9dce285009;p=packages%2Fo%2Fopenafs.git fsprobe: Tidy header includes Since we adopted libroken, we get a lot of header includes automatically from roken.h. Use these, instead of including lots of things multiple times. Change-Id: I0eee5dd0656e32617855ccf4a30d4c4be47b7da2 Reviewed-on: http://gerrit.openafs.org/4328 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- diff --git a/src/fsprobe/fsprobe.c b/src/fsprobe/fsprobe.c index 1eda563ef..0d62519cb 100644 --- a/src/fsprobe/fsprobe.c +++ b/src/fsprobe/fsprobe.c @@ -16,21 +16,19 @@ #include #include +#include - -#include - -#include "fsprobe.h" /*Interface for this module */ #include /*Lightweight process package */ #include #include #include #include #include - #define FSINT_COMMON_XG #include +#include "fsprobe.h" /*Interface for this module */ + #define LWP_STACK_SIZE (16 * 1024) /* diff --git a/src/fsprobe/fsprobe_callback.c b/src/fsprobe/fsprobe_callback.c index 807c9eccc..6414bc3cc 100644 --- a/src/fsprobe/fsprobe_callback.c +++ b/src/fsprobe/fsprobe_callback.c @@ -24,9 +24,8 @@ #include #include +#include -#include -#include /*Standard I/O stuff */ #include /*Callback interface defs */ #include diff --git a/src/fsprobe/fsprobe_test.c b/src/fsprobe/fsprobe_test.c index 2481ed845..941c8c728 100644 --- a/src/fsprobe/fsprobe_test.c +++ b/src/fsprobe/fsprobe_test.c @@ -16,8 +16,8 @@ #include #include +#include -#include #include "fsprobe.h" /*Interface for fsprobe module */ #include