Ignore:
Timestamp:
Mar 12, 2024, 3:10:24 AM (3 months ago)
Author:
Bruno Cornec
Message:

More compiler fixes

  • Fix unused vars
  • Fix FreeBSD #if alone
  • Use MDSTAT_FILE everywhere
  • Fix missing break
  • Fix some strncpy. mr_strncpy used when safe
  • Fix wrong g_isoform_header_str proto !
  • find-cd & find-dvd => find-optical
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c

    r3889 r3892  
    2222// no include for now in mondo-rstr-newt.c
    2323extern int edit_filelist(struct s_node *);
     24
     25extern struct s_bkpinfo *bkpinfo;
    2426
    2527/**
     
    9092extern char *MONDO_LOGFILE;
    9193
    92 /* Reference to global bkpinfo */
    93 extern struct s_bkpinfo *bkpinfo;
    94 
    9594/* Should we use or not extended attributes and acl when restoring */
    9695extern char *g_getfattr;
     
    525524 * @return TRUE if OK was pressed, FALSE otherwise.
    526525 */
    527 bool get_isodir_info(char *isodir_device, char *isodir_format,
    528                 struct s_bkpinfo *bkpinfo, bool nuke_me_please)
     526bool get_isodir_info(char *isodir_device, char *isodir_format, bool nuke_me_please)
    529527{
    530528
     
    610608}
    611609
    612 if (!get_isodir_info(g_isodir_device, g_isodir_format, bkpinfo, nuke_me_please)) {
     610if (!get_isodir_info(g_isodir_device, g_isodir_format, nuke_me_please)) {
    613611    return (1);
    614612}
     
    678676/** malloc **/
    679677char *tmp = NULL;
    680 char *tmp1 = NULL;
    681678char *command = NULL;
    682679char *mountdir = NULL;
     
    22582255/* @} - end restoreUtilityGroup */
    22592256
    2260 void wait_until_software_raids_are_prepped(char *mdstat_file, int wait_for_percentage)
     2257void wait_until_software_raids_are_prepped(int wait_for_percentage)
    22612258{
    22622259    struct raidlist_itself *raidlist;
Note: See TracChangeset for help on using the changeset viewer.