Place shared modules into the common dir

git-svn-id: svn://svn.cc65.org/cc65/trunk@71 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-06-14 09:57:42 +00:00
parent 6a482b59fa
commit 2767f66146
17 changed files with 181 additions and 197 deletions

View File

@@ -35,8 +35,9 @@
#include <string.h>
#include "../common/xmalloc.h"
#include "error.h"
#include "mem.h"
#include "fileio.h"
@@ -232,7 +233,7 @@ char* ReadMallocedStr (FILE* F)
unsigned Len = Read8 (F);
/* Allocate memory */
char* Str = Xmalloc (Len + 1);
char* Str = xmalloc (Len + 1);
/* Read the string itself */
ReadData (F, Str, Len);
@@ -267,3 +268,4 @@ void* ReadData (FILE* F, void* Data, unsigned Size)