Changeset 1264 in MondoRescue for branches/stable/mondo/src/lib/mr_err.c


Ignore:
Timestamp:
Mar 24, 2007, 1:48:55 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • mr_exit used instead of exit
  • mr_rs_clean_conf/mr_rs_cleanup/mr_ar_clean_conf/mr_ar_cleanup added
  • compiltaion warnings suppressed
  • Addition of mr_types (for boolean with typedef)
  • struct mr_rs_conf added
  • help_screen removed (useless)
File:
1 edited

Legend:

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

    r1256 r1264  
    1919#include "mr_msg.h"
    2020
    21 /* This should be a pointer to func setup by the main function */
    22     /* Highly incomplete function for the moment */
    23 static void mr_cleanup(void) {
    24         /* We have to free all allocated memory */
    25         /* We have to remove all temporary files */
    26         /* We have to unmount what has been mounted */
    27         /* We have to properly end newt */
    28         /* We have to remind people of log files */
    29         mr_msg_close();
    30 }
     21/* Pointer to the right cleanup function provided by each main */
     22extern void *mr_cleanup(void);
    3123
    3224/*
Note: See TracChangeset for help on using the changeset viewer.