mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
uss: Tidy up header includes
Remove headers which are provided by libroken, and reorder header includes so that they're a bit a more legible. Change-Id: I1d729adfd0a4cbe73b68e553ec122073a737c8a5 Reviewed-on: http://gerrit.openafs.org/4414 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
4e21a4713a
commit
6465e4243c
@ -14,16 +14,17 @@
|
||||
/*
|
||||
* --------------------- Required definitions ---------------------
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#ifdef AFS_AIX32_ENV
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <afs/cmd.h> /*Command line parsing */
|
||||
#include <afs/cellconfig.h> /*Cell config defs */
|
||||
#include <afs/kautils.h> /*MAXKTCREALMLEN & MAXKTCNAMELEN */
|
||||
#include <afs/pterror.h>
|
||||
#include <afs/vlserver.h>
|
||||
#include <ubik.h>
|
||||
|
||||
#include "uss_common.h" /*Common uss definitions, globals */
|
||||
#include "uss_procs.h" /*Main uss operations */
|
||||
@ -32,12 +33,6 @@
|
||||
#include "uss_ptserver.h"
|
||||
#include "uss_vol.h"
|
||||
#include "uss_acl.h"
|
||||
#include <afs/cmd.h> /*Command line parsing */
|
||||
#include <afs/cellconfig.h> /*Cell config defs */
|
||||
#include <afs/kautils.h> /*MAXKTCREALMLEN & MAXKTCNAMELEN */
|
||||
#include <afs/pterror.h>
|
||||
#include <afs/vlserver.h>
|
||||
#include <ubik.h>
|
||||
|
||||
extern int yylex(void);
|
||||
extern int yyparse (void);
|
||||
|
@ -18,17 +18,7 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
|
||||
#include "uss_acl.h"
|
||||
#include "uss_common.h"
|
||||
#include "uss_fs.h"
|
||||
#include <rx/xdr.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <netdb.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <roken.h>
|
||||
|
||||
#undef VIRTUE
|
||||
#undef VICE
|
||||
@ -36,6 +26,11 @@
|
||||
#include <afs/prs_fs.h>
|
||||
#include <afs/com_err.h>
|
||||
#include <afs/afs_consts.h>
|
||||
#include <rx/xdr.h>
|
||||
|
||||
#include "uss_acl.h"
|
||||
#include "uss_common.h"
|
||||
#include "uss_fs.h"
|
||||
|
||||
#define MAXNAME 100
|
||||
|
||||
|
@ -18,12 +18,11 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#include "uss_common.h" /*Interface definitions */
|
||||
#include <afs/kautils.h> /*MAXKTCREALMLEN & MAXKTCNAMELEN */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "uss_common.h" /*Interface definitions */
|
||||
|
||||
/*
|
||||
* ---------------------- Exported variables ----------------------
|
||||
|
@ -18,24 +18,18 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#include "uss_fs.h" /*Interface to this module */
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <sys/socket.h>
|
||||
#ifdef AFS_SUN5_ENV
|
||||
#include <sys/ioccom.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <afs/venus.h>
|
||||
#include <rx/rx.h>
|
||||
#include <afs/sys_prototypes.h>
|
||||
#include "uss_common.h"
|
||||
|
||||
#include "uss_common.h"
|
||||
#include "uss_fs.h" /*Interface to this module */
|
||||
|
||||
/*
|
||||
* ---------------------- Private definitions ---------------------
|
||||
|
@ -18,18 +18,16 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
|
||||
#include "uss_kauth.h" /*Module interface */
|
||||
#include "uss_common.h" /*Common defs & operations */
|
||||
#include <errno.h>
|
||||
#include <pwd.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <roken.h>
|
||||
|
||||
#include <afs/com_err.h>
|
||||
#include <afs/kautils.h> /*MAXKTCREALMLEN*/
|
||||
#include <afs/kaport.h> /* pack_long */
|
||||
#include <afs/kauth.h>
|
||||
|
||||
#include "uss_kauth.h" /*Module interface */
|
||||
#include "uss_common.h" /*Common defs & operations */
|
||||
|
||||
#define uss_kauth_MAX_SIZE 2048
|
||||
#undef USS_KAUTH_DB
|
||||
/*
|
||||
|
@ -18,23 +18,14 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#include <afs/kautils.h> /*MAXKTCREALMLEN*/
|
||||
|
||||
#include "uss_procs.h" /*Module interface */
|
||||
#include "uss_common.h" /*Common defs & operations */
|
||||
#include "uss_acl.h" /*ACL-related operations */
|
||||
#include <errno.h> /*Unix error codes */
|
||||
#include <pwd.h> /*Password info */
|
||||
#include <sys/stat.h> /*Stat defs */
|
||||
#include <dirent.h> /*Directory package */
|
||||
#include <sys/file.h> /*O_EXCL, O_CREAT, etc */
|
||||
#ifdef AFS_SUN5_ENV
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <afs/kautils.h> /*MAXKTCREALMLEN*/
|
||||
#undef USS_PROCS_DB
|
||||
#undef USS_PROCS_DB_INSTANCE
|
||||
#undef USS_PROCS_DB_BUILDDIR
|
||||
|
@ -18,13 +18,14 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#include "uss_ptserver.h" /*Module interface */
|
||||
#include <afs/ptclient.h> /*Protection Server client interface */
|
||||
#include <afs/pterror.h> /*Protection Server error codes */
|
||||
#include <afs/ptuser.h>
|
||||
#include <afs/com_err.h> /*Error code xlation */
|
||||
|
||||
#include "uss_ptserver.h" /*Module interface */
|
||||
|
||||
#undef USS_PTSERVER_DB
|
||||
|
||||
|
@ -18,18 +18,7 @@
|
||||
#include <afsconfig.h>
|
||||
#include <afs/param.h>
|
||||
|
||||
|
||||
#include "uss_vol.h" /*Interface to this module */
|
||||
#include "uss_common.h" /*Common definitions */
|
||||
#include "uss_procs.h" /*Defs from procs module */
|
||||
#include "uss_fs.h" /*CacheManager ops */
|
||||
#include "uss_acl.h"
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
||||
#include <netdb.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <roken.h>
|
||||
|
||||
#include <afs/com_err.h>
|
||||
#include <afs/vlserver.h>
|
||||
@ -44,6 +33,12 @@
|
||||
#include <afs/afsutil.h>
|
||||
#include <ubik.h>
|
||||
|
||||
#include "uss_vol.h" /*Interface to this module */
|
||||
#include "uss_common.h" /*Common definitions */
|
||||
#include "uss_procs.h" /*Defs from procs module */
|
||||
#include "uss_fs.h" /*CacheManager ops */
|
||||
#include "uss_acl.h"
|
||||
|
||||
extern int line;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user