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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user