]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
log: Tidy header includes
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 25 Mar 2011 19:25:31 +0000 (19:25 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 1 Apr 2011 12:54:17 +0000 (05:54 -0700)
Remove headers which are provided by libroken, and reorder header
includes so that they're a bit a more legible.

Change-Id: I41258d5b906350bcdf4854b244799fc8907b2bfc
Reviewed-on: http://gerrit.openafs.org/4385
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/log/kseal.c
src/log/tokens.c
src/log/unlog.c

index 2ece82a193fe08ab2b3d4b921d65e58eb9e05515..0e2ff16886e1f5255bc4694d6e2c7f487fbd8ba2 100644 (file)
 #include <afsconfig.h>
 #include <afs/param.h>
 
-
-#include <sys/types.h>
-#include <netinet/in.h>
-#ifdef AFS_AIX32_ENV
-#include <signal.h>
-#endif
-
-#include <string.h>
+#include <roken.h>
 
 #include <afs/cellconfig.h>
 #include <afs/afsutil.h>
 #include <afs/auth.h>
+
 #include <rx/xdr.h>
 #include <rx/rx.h>
+
 #include <des.h>
+
 #include <rx/rxkad.h>
 
 #include "AFS_component_version_number.c"
index ed91d956d5338ab0d849eb8c8c7b656c30b22898..3a09038a7341a4313d4aa645b36a69c196673baa 100644 (file)
 #include <afsconfig.h>
 #include <afs/param.h>
 
+#include <roken.h>
 
-#include <stdio.h>
-#ifdef AFS_AIX32_ENV
-#include <signal.h>
-#endif
-#include <sys/file.h>
 #include <rx/xdr.h>
-#include <errno.h>
-#include <sys/types.h>
 #include <afs/auth.h>
-#include <time.h>              /*time(), ctime() */
-#include <pwd.h>
 #include <afs/ktc.h>
 
-#include <string.h>
-
 #define VIRTUE
 #define VICE
 
index 3542e7f242828f564d6b3a81cffe3e25d13132ce..929ab3016cff5ee4831ba8919fa26e5fa7b09742 100644 (file)
 #include <afsconfig.h>
 #include <afs/param.h>
 
+#include <roken.h>
 
-#include <stdio.h>
-#ifdef AFS_AIX32_ENV
-#include <signal.h>
-#endif
-
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include <sys/ioctl.h>
 #include <afs/vice.h>
-#include <sys/file.h>
 
 #include <afs/auth.h>
 #include <afs/cellconfig.h>