More common subroutines
git-svn-id: svn://svn.cc65.org/cc65/trunk@69 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -33,8 +33,9 @@
|
||||
|
||||
|
||||
|
||||
#include "../common/xmalloc.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "mem.h"
|
||||
#include "istack.h"
|
||||
|
||||
|
||||
@@ -80,7 +81,7 @@ void PushInput (int (*Func) (void*), void* Data, const char* Desc)
|
||||
}
|
||||
|
||||
/* Create a new stack element */
|
||||
E = Xmalloc (sizeof (*E));
|
||||
E = xmalloc (sizeof (*E));
|
||||
|
||||
/* Initialize it */
|
||||
E->Func = Func;
|
||||
@@ -109,7 +110,7 @@ void PopInput (void)
|
||||
IStack = IStack->Next;
|
||||
|
||||
/* And delete it */
|
||||
Xfree (E);
|
||||
xfree (E);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user