Changeset 1061 in MondoRescue for branches/stable/mondo/src/include/mr_mem.h


Ignore:
Timestamp:
Jan 18, 2007, 1:47:59 PM (17 years ago)
Author:
Bruno Cornec
Message:
  • mpt + ohci modules added for mindi
  • PATH fixed for init in restore (/usr/games added for petris + fixes)
  • Useless conf files removed from rootfs/etc or cleaned up
  • Still trying to have a working va_list by busybox alignment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/mr_mem.h

    r1054 r1061  
    99#define MR_MEM_H
    1010
     11#ifndef _GNU_SOURCE
     12#define _GNU_SOURCE
     13#endif
     14#include <stdarg.h>
     15
    1116/* functions (public methods) */
    1217
    1318extern void mr_free(char *allocated);
    1419extern void mr_allocstr(char *alloc, const char *orig);
    15 extern void mr_asprintf(char **alloc, const char *fmt, ...);
    16 /*
    17 extern void mr_vasprintf(char **alloc, const char *fmt, va_list ap);
    18 */
     20extern void mr_asprintf(char **alloc, const char *fmt, va_list args);
    1921extern void mr_getline(char **lineptr, size_t *n, FILE *stream);
    2022extern void *mr_malloc(size_t size);
Note: See TracChangeset for help on using the changeset viewer.