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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user