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

@@ -36,8 +36,8 @@
#include <string.h>
#include "../common/hashstr.h"
#include "../common/xmalloc.h"
#include "mem.h"
#include "error.h"
#include "objdata.h"
#include "exports.h"
@@ -77,7 +77,7 @@ static HashEntry* NewHashEntry (const char* Name, unsigned Module)
unsigned Len = strlen (Name);
/* Get memory for the struct */
HashEntry* H = Xmalloc (sizeof (HashEntry) + Len);
HashEntry* H = xmalloc (sizeof (HashEntry) + Len);
/* Initialize the fields and return it */
H->Next = 0;
@@ -147,3 +147,4 @@ int ExpFind (const char* Name)