Changeset 3374 in MondoRescue for branches/3.2/mondo/test


Ignore:
Timestamp:
Apr 27, 2015, 4:25:29 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Fix compilation warnings and errors
Location:
branches/3.2/mondo/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/test/test-mountlist.c

    r3185 r3374  
    1717
    1818extern void twenty_seconds_til_yikes(void);
    19 
    20 /* Reference to global bkpinfo */
    21 struct s_bkpinfo *bkpinfo;
    2219
    2320extern bool g_text_mode;
     
    4744extern char *MONDO_LOGFILE;
    4845extern int copy_from_src_to_dest(FILE * f_orig, FILE * f_archived, char direction);
     46extern int create_raid_device_via_mdadm(struct raidlist_itself *raidlist, char *device, bool test);
     47
     48/* Reference to global bkpinfo */
     49struct s_bkpinfo *bkpinfo;
     50
    4951/* We don't have a cleanup function yet */
    5052void (*mr_cleanup)(void) = NULL;
    5153
    52 void main() {
     54int main() {
    5355
    5456struct mountlist_itself *mountlist = NULL;
  • branches/3.2/mondo/test/test-mr_stresc.c

    r3294 r3374  
    1313/* Whether we should fail immediately at first error */
    1414bool g_fail_immediately = FALSE;
     15
     16/* Reference to global bkpinfo */
     17struct s_bkpinfo *bkpinfo;
    1518
    1619void (*mr_cleanup)(void) = NULL;
  • branches/3.2/mondo/test/test-truncname.c

    r3185 r3374  
    1313
    1414extern void twenty_seconds_til_yikes(void);
    15 
    16 /* Reference to global bkpinfo */
    17 struct s_bkpinfo *bkpinfo;
    1815
    1916extern bool g_text_mode;
     
    4037char *g_getfacl;
    4138char *g_getfattr;
     39
     40/* Reference to global bkpinfo */
     41struct s_bkpinfo *bkpinfo;
    4242
    4343extern char *MONDO_LOGFILE;
Note: See TracChangeset for help on using the changeset viewer.