move struct itime out of dumprestor.h into dump.h
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 8 Oct 1982 11:28:16 +0000 (03:28 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 8 Oct 1982 11:28:16 +0000 (03:28 -0800)
SCCS-vsn: sbin/dump/dump.h 1.7
SCCS-vsn: sbin/dump/traverse.c 1.10

usr/src/sbin/dump/dump.h
usr/src/sbin/dump/traverse.c

index 00f0f33..748df9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * "@(#)dump.h 1.6 (Berkeley) %G%"
+ * "@(#)dump.h 1.7 (Berkeley) %G%"
  */
 #define        NI              16
 #define MAXINOPB       (MAXBSIZE / sizeof(struct dinode))
  */
 #define        NI              16
 #define MAXINOPB       (MAXBSIZE / sizeof(struct dinode))
@@ -12,6 +12,7 @@
 #include <sys/fs.h>
 #include <sys/inode.h>
 #include <dumprestor.h>
 #include <sys/fs.h>
 #include <sys/inode.h>
 #include <dumprestor.h>
+#include <dir.h>
 #include <utmp.h>
 #include <time.h>
 #include <signal.h>
 #include <utmp.h>
 #include <time.h>
 #include <signal.h>
@@ -108,6 +109,11 @@ int        nfstab;
  *     The contents of the file NINCREM is maintained both on
  *     a linked list, and then (eventually) arrayified.
  */
  *     The contents of the file NINCREM is maintained both on
  *     a linked list, and then (eventually) arrayified.
  */
+struct idates {
+       char    id_name[MAXNAMLEN+3];
+       char    id_incno;
+       time_t  id_ddate;
+};
 struct itime{
        struct  idates  it_value;
        struct  itime   *it_next;
 struct itime{
        struct  idates  it_value;
        struct  itime   *it_next;
index fb89bc3..476c6bd 100644 (file)
@@ -1,7 +1,6 @@
-static char *sccsid = "@(#)traverse.c  1.9 (Berkeley) %G%";
+static char *sccsid = "@(#)traverse.c  1.10 (Berkeley) %G%";
 
 #include "dump.h"
 
 #include "dump.h"
-#include <dir.h>
 
 pass(fn, map)
        int (*fn)();
 
 pass(fn, map)
        int (*fn)();