#include <string.h>
+#include "../common/xmalloc.h"
+
#include "check.h"
#include "codegen.h"
#include "datatype.h"
#include "error.h"
#include "funcdesc.h"
#include "global.h"
-#include "mem.h"
#include "util.h"
#include "symtab.h"
type* T = TypeAlloc (1 + DECODE_SIZE + 2);
/* Prepare the function descriptor */
- F->Flags = FD_IMPLICIT | FD_ELLIPSIS;
- F->SymTab = &EmptySymTab;
- F->StructTab = &EmptySymTab;
- F->EnumTab = &EmptySymTab;
+ F->Flags = FD_IMPLICIT | FD_EMPTY | FD_ELLIPSIS;
+ F->SymTab = &EmptySymTab;
+ F->TagTab = &EmptySymTab;
/* Fill the type string */
T [0] = T_FUNC;