-#include "mem.h"
+/* common */
+#include "xmalloc.h"
+
+/* cc65 */
#include "funcdesc.h"
/* Create a new symbol table with the given name */
{
/* Create a new function descriptor */
- FuncDesc* F = xmalloc (sizeof (FuncDesc));
+ FuncDesc* F = (FuncDesc*) xmalloc (sizeof (FuncDesc));
/* Nullify the fields */
- F->Flags = 0;
+ F->Flags = 0;
F->SymTab = 0;
- F->StructTab = 0;
- F->EnumTab = 0;
+ F->TagTab = 0;
F->ParamCount = 0;
F->ParamSize = 0;
+ F->LastParam = 0;
/* Return the new struct */
return F;