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

@@ -34,10 +34,10 @@
#include "../common/exprdefs.h"
#include "../common/xmalloc.h"
#include "global.h"
#include "error.h"
#include "mem.h"
#include "fileio.h"
#include "segments.h"
#include "expr.h"
@@ -54,7 +54,7 @@ static ExprNode* NewExprNode (ObjData* O)
/* Create a new expression node */
{
/* Allocate fresh memory */
ExprNode* N = Xmalloc (sizeof (ExprNode));
ExprNode* N = xmalloc (sizeof (ExprNode));
N->Op = EXPR_NULL;
N->Left = 0;
N->Right = 0;
@@ -70,7 +70,7 @@ static void FreeExprNode (ExprNode* E)
/* Free a node */
{
/* Free the memory */
Xfree (E);
xfree (E);
}