bozo-cleanup-20070208
authorMarcus Watts <mdw@umich.edu>
Fri, 9 Feb 2007 00:54:22 +0000 (00:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 9 Feb 2007 00:54:22 +0000 (00:54 +0000)
FIXES 53202

clean up bosserver

src/bozo/bosserver.c

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