Move stuff into the common directory

git-svn-id: svn://svn.cc65.org/cc65/trunk@70 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-06-14 09:38:07 +00:00
parent 1081c1dcdd
commit 6a482b59fa
11 changed files with 27 additions and 179 deletions

View File

@@ -35,8 +35,9 @@
#include <string.h>
#include "../common/xmalloc.h"
#include "error.h"
#include "mem.h"
#include "fileio.h"
@@ -139,7 +140,7 @@ char* ReadStr (FILE* F)
unsigned Len = Read8 (F);
/* Allocate memory and read the string itself */
char* S = Xmalloc (Len + 1);
char* S = xmalloc (Len + 1);
ReadData (F, S, Len);
/* Terminate the string and return it */