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: I5543c5c9c22828ee19460c2ab24065f508a6353f
Reviewed-on: http://gerrit.openafs.org/4320
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#include <afs/afsutil.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#ifndef AFS_NT40_ENV
-#include <sys/param.h>
-#include <unistd.h>
-#else
-#include <io.h>
-#endif
#include "audit-api.h"
static FILE *auditout;
* have sys/ipc.h */
#ifdef HAVE_SYS_IPC_H
-
-#include <string.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/ipc.h>
#include <sys/msg.h>
-#include <unistd.h>
-#include <fcntl.h>
#include "audit-api.h"
#include <roken.h>
-#include <fcntl.h>
-#include <stdarg.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#ifndef AFS_NT40_ENV
-#include <unistd.h>
-#endif
#ifdef AFS_AIX32_ENV
#include <sys/audit.h>
#else
#define AUDIT_FAIL_ACCESS 3
#define AUDIT_FAIL_PRIV 4
#endif /* AFS_AIX32_ENV */
-#include <errno.h>
#include "afs/afsint.h"
#include <rx/rx.h>
#include "audit.h"
#include "audit-api.h"
#include "lock.h"
-#ifdef AFS_AIX32_ENV
-#include <sys/audit.h>
-#endif
+
#include <afs/afsutil.h>
/* C99 requires va_copy. Older versions of GCC provide __va_copy. Per t