BSD 4_3 release
[unix-history] / usr / src / etc / dcheck.c
index 70da52a..aa99011 100644 (file)
@@ -1,21 +1,29 @@
-static char *sccsid = "@(#)dcheck.c    2.3 (Berkeley) 5/10/82";
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1980 Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif not lint
+
+#ifndef lint
+static char sccsid[] = "@(#)dcheck.c   5.1 (Berkeley) 6/6/85";
+#endif not lint
+
 /*
  * dcheck - check directory consistency
  */
 #define        NB      10
 #define        MAXNINDIR       (MAXBSIZE / sizeof (daddr_t))
 
 /*
  * dcheck - check directory consistency
  */
 #define        NB      10
 #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>
-#include <dir.h>
-#else
-#include "../h/param.h"
-#include "../h/inode.h"
-#include "../h/fs.h"
-#include "../h/ndir.h"
-#endif
+#include <sys/dir.h>
 #include <stdio.h>
 
 union {
 #include <stdio.h>
 
 union {