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

@@ -37,9 +37,10 @@
#include <string.h>
#include <errno.h>
#include "../common/xmalloc.h"
#include "global.h"
#include "error.h"
#include "mem.h"
#include "fileio.h"
#include "segments.h"
#include "exports.h"
@@ -73,7 +74,7 @@ BinDesc* NewBinDesc (void)
/* Create a new binary format descriptor */
{
/* Allocate memory for a new BinDesc struct */
BinDesc* D = Xmalloc (sizeof (BinDesc));
BinDesc* D = xmalloc (sizeof (BinDesc));
/* Initialize the fields */
D->Undef = 0;
@@ -89,8 +90,8 @@ BinDesc* NewBinDesc (void)
void FreeBinDesc (BinDesc* D)
/* Free a binary format descriptor */
{
Xfree (D);
}
xfree (D);
}