Changeset 1646 in MondoRescue for branches/2.2.5/mondo/src/mondorestore


Ignore:
Timestamp:
Sep 24, 2007, 3:07:18 AM (17 years ago)
Author:
Bruno Cornec
Message:

Remove g_bkpinfo_DONTUSETHIS

Location:
branches/2.2.5/mondo/src/mondorestore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo/src/mondorestore/mondo-restore-EXT.h

    r425 r1646  
    1212extern char *g_isodir_format;
    1313
    14 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS;
    1514extern char *g_biggielist_txt;
    1615extern char *g_filelist_full;
  • branches/2.2.5/mondo/src/mondorestore/mondo-restore.c

    r1645 r1646  
    4040 **************************************************************************/
    4141extern char *g_tmpfs_mountpt;   // declared in libmondo-tools.c
    42 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS; // used by finish() to free
    43                                                 // up global bkpinfo struct
    4442extern bool g_text_mode;
    4543extern FILE *g_fprep;
     
    29152913    }                           // newt :-)
    29162914    if (!
    2917         (bkpinfo = g_bkpinfo_DONTUSETHIS =
    2918          malloc(sizeof(struct s_bkpinfo)))) {
     2915        (bkpinfo = malloc(sizeof(struct s_bkpinfo)))) {
    29192916        fatal_error("Cannot malloc bkpinfo");
    29202917    }
  • branches/2.2.5/mondo/src/mondorestore/mondo-rstr-tools.c

    r1645 r1646  
    155155extern char *g_mountlist_fname; // where mountlist.txt (the mountlist file) is stored
    156156extern char *g_mondo_home;      // homedir of Mondo; usually /usr/local/share/mondo
    157 extern struct s_bkpinfo *g_bkpinfo_DONTUSETHIS;
    158157
    159158extern t_bkptype g_backup_media_type;
Note: See TracChangeset for help on using the changeset viewer.