DEVEL15-vfsck-needs-fd-t-defn-20090324
authorDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 14:24:07 +0000 (14:24 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 24 Mar 2009 14:24:07 +0000 (14:24 +0000)
LICENSE IPL10

make vfsck build again

(cherry picked from commit 9a697699b487066f04783194771774db42ecfba9)

src/vfsck/dirutils.c

index 9b32466..950aef5 100644 (file)
@@ -17,13 +17,14 @@ RCSID
 #include <sys/stat.h>
 #include <string.h>
 #include <dirent.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];