Ignore:
Timestamp:
Apr 21, 2011, 2:14:52 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix compilation issues due to level of visibility of functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondo-rstr-newt.c

    r2769 r2770  
    1515//static char cvsid[] = "$Id$";
    1616
     17extern bool popup_with_buttons(char *p, char *button1, char *button2);
    1718extern char err_log_lines[NOOF_ERR_LINES][MAX_STR_LEN];
    1819
     
    22782279bool
    22792280get_isodir_info(char *isodir_device, char *isodir_format,
    2280                 char *isodir_path, bool nuke_me_please)
     2281                char *isodir_path, char *subdir_path, bool nuke_me_please)
    22812282{
    22822283
    22832284    bool HDD = FALSE;
    2284     char *subdir_path;
    22852285    /** initialize ********************************************************/
    22862286
     
    23132313             "What is the disk format of the device? (Hit ENTER if you don't know.)",
    23142314             isodir_format, 16)) {
    2315             if (popup_with_button("Are you restoring from an external hard drive ?", "Yes", "No")) {
     2315            if (popup_with_buttons("Are you restoring from an external hard drive ?", "Yes", "No")) {
    23162316                HDD = TRUE;
    23172317            }
     
    23272327                    /*  We need an additional param */
    23282328                    mr_asprintf(&subdir_path, "%s", isodir_path);
    2329                     bkpinfo->subdir = subdir_path;
    23302329                    strcpy(isodir_path, "/tmp/isodir");
    23312330                }
Note: See TracChangeset for help on using the changeset viewer.