9
0
Fork 0

svn_rev_423

This commit is contained in:
Sascha Hauer 2007-07-05 18:01:52 +02:00 committed by Sascha Hauer
parent 97327a1b05
commit f403449505
1 changed files with 11 additions and 1 deletions

View File

@ -11,7 +11,17 @@
#include <string.h>
#include <getopt.h>
#define xmalloc malloc
void *xmalloc(size_t size)
{
void *p = NULL;
if (!(p = malloc(size))) {
printf("ERROR: out of memory\n");
exit(1);
}
return p;
}
#include "../include/envfs.h"
#include "../common/environment.c"