From: Simon Wilkinson Date: Sun, 27 Mar 2011 21:59:26 +0000 (+0100) Subject: usd: Tidy header includes X-Git-Tag: upstream/1.8.0_pre1^2~3918 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4e21a4713a9fc2571032386e46560ec6cbee263e;p=packages%2Fo%2Fopenafs.git usd: 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: I593ca273e11e4dd7bb0887e708189cc7a1181879 Reviewed-on: http://gerrit.openafs.org/4413 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- diff --git a/src/usd/usd_file.c b/src/usd/usd_file.c index 96c646e59..8b71e305e 100644 --- a/src/usd/usd_file.c +++ b/src/usd/usd_file.c @@ -10,11 +10,8 @@ #include #include -#include -#include -#include -#include -#include +#include + #if defined(AFS_AIX_ENV) #include #include @@ -30,12 +27,6 @@ #endif #endif /* AFS_AIX_ENV */ -#include -#include - -#ifdef HAVE_STDINT_H -# include -#endif #include #include "usd.h" diff --git a/src/usd/usd_nt.c b/src/usd/usd_nt.c index df5fff26a..506eda832 100644 --- a/src/usd/usd_nt.c +++ b/src/usd/usd_nt.c @@ -10,10 +10,9 @@ #include #include +#include #include -#include -#include #include #include #include