X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Frestore.h;h=cbe17bdf43f576b8cfcaf186727c49e1f453cf1b;hp=dbb97e5c03d7c0266acb3e22568343ddda83d448;hb=ddd2ef55b78a62c4bc3daad18bef8a90e85a2052;hpb=b45f51d61e911ac8a040bef1efda6afd82261e03 diff --git a/restore/restore.h b/restore/restore.h index dbb97e5..cbe17bd 100644 --- a/restore/restore.h +++ b/restore/restore.h @@ -71,6 +71,7 @@ extern time_t dumptime; /* time that this dump begins */ extern time_t dumpdate; /* time that this dump was made */ extern char command; /* opration being performed */ extern FILE *terminal; /* file descriptor for the terminal input */ +extern char *tmpdir; /* name of temp directory */ extern int oldinofmt; /* reading tape with old format inodes */ extern int Bcvt; /* need byte swapping on inodes and dirs */ extern int compare_ignore_not_found; @@ -78,7 +79,6 @@ extern int compare_ignore_not_found; /* so messages about "not found" files */ /* isn't seen. */ extern char *filesys; /* name of dumped filesystem */ -extern char *tmpdir; /* name of temp directory */ /* * Each file in the file system is described by one of these entries @@ -151,8 +151,8 @@ typedef struct rstdirdesc RST_DIR; #define SETINO(ino, map) \ map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY) -#define dprintf if (dflag) fprintf -#define vprintf if (vflag) fprintf +#define Dprintf if (dflag) fprintf +#define Vprintf if (vflag) fprintf #define GOOD 1 #define FAIL 0