More common subroutines
git-svn-id: svn://svn.cc65.org/cc65/trunk@69 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
|
||||
|
||||
#include "../common/filepos.h"
|
||||
#include "../common/xmalloc.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "expr.h"
|
||||
#include "mem.h"
|
||||
#include "scanner.h"
|
||||
#include "ulabel.h"
|
||||
|
||||
@@ -80,7 +80,7 @@ static ULabel* NewULabel (ExprNode* Val)
|
||||
*/
|
||||
{
|
||||
/* Allocate memory for the ULabel structure */
|
||||
ULabel* L = Xmalloc (sizeof (ULabel));
|
||||
ULabel* L = xmalloc (sizeof (ULabel));
|
||||
|
||||
/* Initialize the fields */
|
||||
L->Pos = CurPos;
|
||||
@@ -227,7 +227,7 @@ void ULabCheck (void)
|
||||
*/
|
||||
if (ULabCount) {
|
||||
unsigned I = 0;
|
||||
ULabList = Xmalloc (ULabCount * sizeof (ULabel*));
|
||||
ULabList = xmalloc (ULabCount * sizeof (ULabel*));
|
||||
L = ULabRoot;
|
||||
while (L) {
|
||||
ULabList[I] = L;
|
||||
|
||||
Reference in New Issue
Block a user