bozo-cleanup-20070208

FIXES 53202

clean up bosserver
This commit is contained in:
Marcus Watts 2007-02-09 00:54:22 +00:00 committed by Derrick Brashear
parent 0dfd1d0ed8
commit 6e947cd3be

View File

@ -56,7 +56,7 @@ extern struct bnode_ops fsbnode_ops, dafsbnode_ops, ezbnode_ops, cronbnode_ops;
void bozo_Log(); void bozo_Log();
struct afsconf_dir *bozo_confdir = 0; /* bozo configuration dir */ struct afsconf_dir *bozo_confdir = 0; /* bozo configuration dir */
static char *bozo_pid; static PROCESS bozo_pid;
struct rx_securityClass *bozo_rxsc[3]; struct rx_securityClass *bozo_rxsc[3];
const char *bozo_fileName; const char *bozo_fileName;
FILE *bozo_logFile; FILE *bozo_logFile;
@ -164,7 +164,7 @@ bozo_ReBozo()
/* make sure a dir exists */ /* make sure a dir exists */
static int static int
MakeDir(register char *adir) MakeDir(const char *adir)
{ {
struct stat tstat; struct stat tstat;
register afs_int32 code; register afs_int32 code;
@ -720,7 +720,6 @@ main(int argc, char **argv, char **envp)
register afs_int32 code; register afs_int32 code;
struct afsconf_dir *tdir; struct afsconf_dir *tdir;
int noAuth = 0; int noAuth = 0;
struct ktc_encryptionKey tkey;
int i; int i;
char namebuf[AFSDIR_PATH_MAX]; char namebuf[AFSDIR_PATH_MAX];
int rxMaxMTU = -1; int rxMaxMTU = -1;
@ -1016,7 +1015,6 @@ main(int argc, char **argv, char **envp)
/* opened the cell databse */ /* opened the cell databse */
bozo_confdir = tdir; bozo_confdir = tdir;
code = afsconf_GetKey(tdir, 999, &tkey);
/* allow super users to manage RX statistics */ /* allow super users to manage RX statistics */
rx_SetRxStatUserOk(bozo_rxstat_userok); rx_SetRxStatUserOk(bozo_rxstat_userok);