Remove DUX/OSF code
[openafs.git] / src / vfsck / dirutils.c
index f893326..ed89f16 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
 #include <afsconfig.h>
 #include <afs/param.h>
 
-RCSID
-    ("$Header$");
+#include <roken.h>
 
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <dirent.h>
+#include <afs/afsint.h>
+#include <afs/ihandle.h>
 #include <afs/partition.h>
 
 /* ensure that we don't have a "/" instead of a "/dev/rxd0a" type of device.
  * Overwrites abuffer with the corrected name.
  */
-EnsureDevice(abuffer)
-     char *abuffer;
+int
+EnsureDevice(char *abuffer)
 {
     struct dirent *dp;
     char pbuffer[128];