X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Fitime.c;h=204fc58fdeb5f5a22e76f71a621757989f412ffa;hb=a9c5ed48f9b7e1889ee7694c5666ddb39814fe56;hp=81d8dc7e7b85b34c2594d13f24006c39070bebbe;hpb=a4f547cdfcac72c75d5e147fa4592652229fd0a1;p=dump.git diff --git a/dump/itime.c b/dump/itime.c index 81d8dc7..204fc58 100644 --- a/dump/itime.c +++ b/dump/itime.c @@ -2,8 +2,8 @@ * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit * Remy Card , 1994-1997 - * Stelian Pop , 1999-2000 - * Stelian Pop - Alcôve , 2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - Alcôve , 2000-2002 */ /*- @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: itime.c,v 1.18 2001/03/21 09:37:13 stelian Exp $"; + "$Id: itime.c,v 1.22 2002/01/25 15:08:59 stelian Exp $"; #endif /* not lint */ #include @@ -55,10 +55,14 @@ static const char rcsid[] = #include #include +#include #ifdef __linux__ +#ifdef HAVE_EXT2FS_EXT2_FS_H +#include +#else #include +#endif #include -#include #include #include #include @@ -127,8 +131,8 @@ initdumptimes(int createdumpdates) static void readdumptimes(FILE *df) { - register int i; - register struct dumptime *dtwalk; + int i; + struct dumptime *dtwalk; for (;;) { dtwalk = (struct dumptime *)calloc(1, sizeof (struct dumptime)); @@ -154,8 +158,8 @@ readdumptimes(FILE *df) void getdumptime(int createdumpdates) { - register struct dumpdates *ddp; - register int i; + struct dumpdates *ddp; + int i; #ifdef FDEBUG msg("Looking for name %s in dumpdates = %s for level = %c\n", @@ -193,8 +197,8 @@ void putdumptime(void) { FILE *df; - register struct dumpdates *dtwalk; - register int i; + struct dumpdates *dtwalk; + int i; int fd; if(uflag == 0)