Changeset 3192 in MondoRescue for branches/3.0/mondo/src/lib/mr_err.c


Ignore:
Timestamp:
Sep 25, 2013, 9:03:25 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • revert r3188 & r3189 as I started to work on branch 3.0 before deciding it was much better to do it in 3.2. This will allow some small maintenance work on 3.0 if needed, while pushing all the rest to 3.2 and providing early access to it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/lib/mr_err.c

    r3189 r3192  
    1616#include <stdio.h>
    1717#include <stdlib.h>
    18 #include "mr_msg.h"
    1918
    2019/* Pointer to the right cleanup function provided by each main */
    21 extern void (*mr_cleanup)(int);
     20extern void (*mr_cleanup)(void);
    2221
    2322/*
     
    2726
    2827    if (mr_cleanup != NULL) {
    29         mr_cleanup(errorcode);
     28        mr_cleanup();
    3029    }
    3130    if (message != NULL) {
    3231        fprintf(stderr,"%s\n",message);
    3332    }
    34     mr_msg_close();
    3533    exit(errorcode);
    3634}
Note: See TracChangeset for help on using the changeset viewer.