com_err: 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: I167b0fa7f48d7dd71efb43a4f137655b38137314
Reviewed-on: http://gerrit.openafs.org/4325
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Simon Wilkinson 2011-03-24 20:50:21 +00:00 committed by Jeffrey Altman
parent 3f3d0d999f
commit d1c83df1cc
4 changed files with 12 additions and 23 deletions

View File

@ -7,10 +7,9 @@
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include "internal.h"
#include <stdio.h>
#include <stdarg.h>
#include "error_table.h"
#include "com_err.h"

View File

@ -10,22 +10,10 @@
#undef MEMORYLEAK
#include <afsconfig.h>
#include <afs/param.h>
#include <roken.h>
#include <afs/afsutil.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef AFS_NT40_ENV
#include <sys/file.h>
#include <sys/param.h>
#endif
#include <errno.h>
#include <string.h>
#ifdef AFS_AIX32_ENV
#include <signal.h>
#endif
#include "mit-sipb-cr.h"
#include "internal.h"
#include "compiler.h"

View File

@ -12,19 +12,19 @@
#include <roken.h>
#include "internal.h"
#include <stdio.h>
#include "error_table.h"
#include "mit-sipb-cr.h"
#ifdef HAVE_LIBINTL
#include <libintl.h>
#endif
#ifdef AFS_DARWIN_ENV
#include <CoreFoundation/CoreFoundation.h>
#endif
#include <afs/errors.h>
#include <afs/afsutil.h>
#include <string.h>
#include "internal.h"
#include "error_table.h"
#include "mit-sipb-cr.h"
#include "com_err.h"
static const char copyright[] =

View File

@ -6,8 +6,10 @@
#include <afsconfig.h>
#include <afs/param.h>
#include <afs/afsutil.h>
#include <roken.h>
#include <afs/afsutil.h>
#include "error_table.h"
#include "mit-sipb-cr.h"