More common subroutines

git-svn-id: svn://svn.cc65.org/cc65/trunk@69 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-06-14 09:32:22 +00:00
parent 114bc5a370
commit 1081c1dcdd
27 changed files with 363 additions and 151 deletions

View File

@@ -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);
}