BSD 4_2 release
[unix-history] / usr / src / etc / ncheck.c
index 13748f4..bf4439a 100644 (file)
@@ -1,23 +1,19 @@
-static char *sccsid = "@(#)ncheck.c    2.2 (Berkeley) 9/10/82";
+#ifndef lint
+static char *sccsid = "@(#)ncheck.c    2.4 (Berkeley) 9/22/83";
+#endif
 /*
  * ncheck -- obtain file names from reading filesystem
  */
 
 #define        NB              500
 /*
  * ncheck -- obtain file names from reading filesystem
  */
 
 #define        NB              500
-#define        HSIZE           2503
+#define        HSIZE           5651
 #define        MAXNINDIR       (MAXBSIZE / sizeof (daddr_t))
 
 #define        MAXNINDIR       (MAXBSIZE / sizeof (daddr_t))
 
-#ifndef SIMFS
 #include <sys/param.h>
 #include <sys/inode.h>
 #include <sys/fs.h>
 #include <sys/param.h>
 #include <sys/inode.h>
 #include <sys/fs.h>
-#else
-#include "../h/param.h"
-#include "../h/inode.h"
-#include "../h/fs.h"
-#endif
+#include <sys/dir.h>
 #include <stdio.h>
 #include <stdio.h>
-#include <dir.h>
 
 struct fs      sblock;
 struct dinode  itab[MAXIPG];
 
 struct fs      sblock;
 struct dinode  itab[MAXIPG];