fsint: remove dead code
[openafs.git] / src / vlserver / sascnvldb.c
index 42b9d30..b046e82 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
@@ -9,31 +9,14 @@
 
 #include <afsconfig.h>
 #include <afs/param.h>
-
-
 #include <afs/stds.h>
-#include <sys/types.h>
-#include <errno.h>
-#include <stdio.h>
+
 #include <sys/file.h>
-#include "cnvldb.h"            /* CHANGEME! */
-#include <netinet/in.h>
 #include <afs/venus.h>
 #include <afs/cmd.h>
 #include <afs/afs_consts.h>
 
-#ifdef notdef
-#include <afs/vice.h>
-#undef VIRTUE
-#undef VICE
-#include "afs/prs_fs.h"
-#include <afs/afsint.h>
-#include <afs/cellconfig.h>
-#include <ubik.h>
-#endif
-#include <strings.h>
-
-
+#include "cnvldb.h"            /* CHANGEME! */
 
 static char pn[] = "cnvldb";
 static char tempname[] = "XXnewvldb";
@@ -93,7 +76,7 @@ static char *
 Parent(apath)
      char *apath;
 {
-    register char *tp;
+    char *tp;
     strcpy(tspace, apath);
     tp = strrchr(tspace, '/');
     if (tp) {
@@ -108,10 +91,10 @@ Parent(apath)
 /* this function returns TRUE (1) if the file is in AFS, otherwise false (0) */
 static int
 InAFS(apath)
-     register char *apath;
+     char *apath;
 {
     struct ViceIoctl blob;
-    register afs_int32 code;
+    afs_int32 code;
 
     blob.in_size = 0;
     blob.out_size = AFS_PIOCTL_MAXSIZE;
@@ -147,11 +130,11 @@ QuickPrintStatus(status, name)
 
 
 static int
-ListQuotaCmd(register struct cmd_syndesc *as, void *arock)
+ListQuotaCmd(struct cmd_syndesc *as, void *arock)
 {
-    register afs_int32 code;
+    afs_int32 code;
     struct ViceIoctl blob;
-    register struct cmd_item *ti;
+    struct cmd_item *ti;
     struct VolumeStatus *status;
     char *name;
 
@@ -248,7 +231,7 @@ main(argc, argv)
      int argc;
      char **argv;
 {
-    register afs_int32 code;
+    afs_int32 code;
     int old, new, rc;
     short uvers;
     char ubik[80];             /* space for some ubik header */