Changeset 1081 in MondoRescue for trunk/mondo/src/include
- Timestamp:
- Jan 28, 2007, 11:20:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/include/my-stuff.h
r1079 r1081 14 14 #define NOOF_ERR_LINES 6 15 15 16 #define paranoid_free(exp) mr_free(exp)17 18 16 /** 19 17 * @file … … 22 20 23 21 #include <stdio.h> 22 #include "mr_mem.h" 24 23 25 24 #if !defined(bool) && !defined(__cplusplus) … … 286 285 * Malloc @p x to be MAX_STR_LEN bytes and call fatal_error() if we're out of memory. 287 286 */ 288 #define malloc_string(x) { x = (char *)m alloc(MAX_STR_LEN); if (!x) { fatal_error("Unable to malloc"); }x[0] = x[1] = '\0'; }287 #define malloc_string(x) { x = (char *)mr_malloc(MAX_STR_LEN); x[0] = x[1] = '\0'; } 289 288 290 289 /**
Note:
See TracChangeset
for help on using the changeset viewer.