diff options
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/dirs.c | 10 | ||||
-rw-r--r-- | sbin/restore/symtab.c | 10 | ||||
-rw-r--r-- | sbin/restore/tape.c | 30 |
3 files changed, 25 insertions, 25 deletions
diff --git a/sbin/restore/dirs.c b/sbin/restore/dirs.c index 15d7b06..db68d66 100644 --- a/sbin/restore/dirs.c +++ b/sbin/restore/dirs.c @@ -41,7 +41,7 @@ static char sccsid[] = "@(#)dirs.c 8.7 (Berkeley) 5/1/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: dirs.c,v 1.12 1998/07/28 06:20:05 charnier Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -71,8 +71,8 @@ static const char rcsid[] = struct inotab { struct inotab *t_next; ino_t t_ino; - long t_seekpt; - long t_size; + int32_t t_seekpt; + int32_t t_size; }; static struct inotab *inotab[HASHSIZE]; @@ -95,8 +95,8 @@ struct modeinfo { #define DIRBLKSIZ 1024 struct rstdirdesc { int dd_fd; - long dd_loc; - long dd_size; + int32_t dd_loc; + int32_t dd_size; char dd_buf[DIRBLKSIZ]; }; diff --git a/sbin/restore/symtab.c b/sbin/restore/symtab.c index f9a5422..795669c 100644 --- a/sbin/restore/symtab.c +++ b/sbin/restore/symtab.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)symtab.c 8.3 (Berkeley) 4/28/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: symtab.c,v 1.5 1998/07/28 06:20:13 charnier Exp $"; #endif /* not lint */ /* @@ -440,13 +440,13 @@ freename(name) * Useful quantities placed at the end of a dumped symbol table. */ struct symtableheader { - long volno; - long stringsize; - long entrytblsize; + int32_t volno; + int32_t stringsize; + int32_t entrytblsize; time_t dumptime; time_t dumpdate; ino_t maxino; - long ntrec; + int32_t ntrec; }; /* diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 03ddd15..80a14a8 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -41,7 +41,7 @@ static char sccsid[] = "@(#)tape.c 8.9 (Berkeley) 5/1/95"; #endif static const char rcsid[] = - "$Id: tape.c,v 1.13 1998/07/28 06:20:15 charnier Exp $"; + "$Id: tape.c,v 1.14 1998/07/28 18:50:01 imp Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -1009,32 +1009,32 @@ gethead(buf) long i; union { quad_t qval; - long val[2]; + int32_t val[2]; } qcvt; union u_ospcl { char dummy[TP_BSIZE]; struct s_ospcl { - long c_type; - long c_date; - long c_ddate; - long c_volume; - long c_tapea; + int32_t c_type; + int32_t c_date; + int32_t c_ddate; + int32_t c_volume; + int32_t c_tapea; u_short c_inumber; - long c_magic; - long c_checksum; + int32_t c_magic; + int32_t c_checksum; struct odinode { unsigned short odi_mode; u_short odi_nlink; u_short odi_uid; u_short odi_gid; - long odi_size; - long odi_rdev; + int32_t odi_size; + int32_t odi_rdev; char odi_addr[36]; - long odi_atime; - long odi_mtime; - long odi_ctime; + int32_t odi_atime; + int32_t odi_mtime; + int32_t odi_ctime; } c_dinode; - long c_count; + int32_t c_count; char c_addr[256]; } s_ospcl; } u_ospcl; |